home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1995-02-20 | 162.8 KB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: HyperInfo
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Tue Jun 7 15:01:46 1994, modified Mon Feb 20 06:43:06 1995, creator HyperCard, type HyperCard stack, 131072 bytes "HyperInfo" , at 0x20080 35430 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 48 79 70 65 72 49 | 6e 66 6f 00 00 00 00 00 |..HyperI|nfo.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 00 00 00 | 00 8a 66 aa 1a 74 9a ab |........|..f..t..|
|00000060| 6e 30 ca 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |n0......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 81 11 00 00 |........|........|
|00000080| 00 00 6e 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..n.STAK|........|
|00000090| 00 00 00 0a 00 02 00 00 | 00 00 6e 00 00 00 00 00 |........|..n.....|
|000000a0| 00 00 00 02 00 00 00 02 | 00 00 0a 55 00 00 00 2d |........|...U...-|
|000000b0| 00 00 77 10 00 00 12 37 | 00 00 00 02 00 00 4a 20 |..w....7|......J |
|000000c0| 00 00 17 1a 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 20 80 00 02 20 80 00 | 02 10 80 00 02 10 80 00 |. ... ..|........|
|000000f0| dc ee 65 f5 00 00 00 00 | 00 30 00 70 01 e4 02 70 |..e.....|.0.p...p|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 1d 00 00 0c ab | 02 00 02 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 df e0 00 00 26 00 | 00 01 db c0 00 00 24 20 |......&.|......$ |
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 63 6c 6f 73 65 | 43 61 72 64 0d 73 65 74 |on close|Card.set|
|00000690| 20 74 68 65 20 63 75 72 | 73 6f 72 20 74 6f 20 62 | the cur|sor to b|
|000006a0| 75 73 79 0d 6c 6f 63 6b | 20 6d 65 73 73 61 67 65 |usy.lock| message|
|000006b0| 73 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 69 66 |s.lock s|creen.if|
|000006c0| 20 28 68 79 70 65 72 49 | 6e 66 6f 28 29 20 69 73 | (hyperI|nfo() is|
|000006d0| 20 74 72 75 65 29 20 74 | 68 65 6e 0d 72 65 70 65 | true) t|hen.repe|
|000006e0| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|000006f0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 62 | the num|ber of b|
|00000700| 67 20 66 6c 64 73 0d 69 | 66 20 28 74 68 65 20 73 |g flds.i|f (the s|
|00000710| 74 79 6c 65 20 6f 66 20 | 62 67 20 66 6c 64 20 69 |tyle of |bg fld i|
|00000720| 20 69 73 20 73 63 72 6f | 6c 6c 69 6e 67 29 20 74 | is scro|lling) t|
|00000730| 68 65 6e 20 73 65 74 20 | 74 68 65 20 73 63 72 6f |hen set |the scro|
|00000740| 6c 6c 20 6f 66 20 62 67 | 20 66 6c 64 20 69 20 74 |ll of bg| fld i t|
|00000750| 6f 20 30 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |o 0.end |repeat.e|
|00000760| 6e 64 20 69 66 0d 75 6e | 6c 6f 63 6b 20 6d 65 73 |nd if.un|lock mes|
|00000770| 73 61 67 65 73 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |sages.un|lock scr|
|00000780| 65 65 6e 0d 2d 2d 20 70 | 61 73 73 20 63 6c 6f 73 |een.-- p|ass clos|
|00000790| 65 43 61 72 64 0d 65 6e | 64 20 63 6c 6f 73 65 43 |eCard.en|d closeC|
|000007a0| 61 72 64 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ard..on |closeSta|
|000007b0| 63 6b 0d 2d 2d 20 41 64 | 64 43 6f 6c 6f 72 20 72 |ck.-- Ad|dColor r|
|000007c0| 65 6d 6f 76 65 0d 67 6c | 6f 62 61 6c 20 67 6c 6f |emove.gl|obal glo|
|000007d0| 62 61 6c 4c 6f 6e 67 2c | 67 6c 6f 62 61 6c 53 68 |balLong,|globalSh|
|000007e0| 6f 72 74 0d 73 65 74 20 | 74 68 65 20 63 75 72 73 |ort.set |the curs|
|000007f0| 6f 72 20 74 6f 20 62 75 | 73 79 0d 69 66 20 28 68 |or to bu|sy.if (h|
|00000800| 79 70 65 72 49 6e 66 6f | 28 29 20 69 73 20 74 72 |yperInfo|() is tr|
|00000810| 75 65 29 20 74 68 65 6e | 0d 69 66 20 20 20 20 20 |ue) then|.if |
|00000820| 20 28 22 24 48 79 70 65 | 72 49 6e 66 6f 24 22 20 | ("$Hype|rInfo$" |
|00000830| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|00000840| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|00000850| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00000860| 61 63 6b 29 20 26 20 22 | 24 22 29 20 74 68 65 6e |ack) & "|$") then|
|00000870| 0d 70 75 74 20 73 61 79 | 49 74 28 22 47 6f 6f 64 |.put say|It("Good|
|00000880| 2d 62 79 65 22 29 20 69 | 6e 74 6f 20 6e 75 6c 6c |-bye") i|nto null|
|00000890| 0d 73 65 6e 64 20 28 22 | 72 65 73 65 74 20 6d 65 |.send ("|reset me|
|000008a0| 6e 75 62 61 72 22 29 20 | 74 6f 20 48 79 70 65 72 |nubar") |to Hyper|
|000008b0| 43 61 72 64 0d 73 74 6f | 70 20 75 73 69 6e 67 20 |Card.sto|p using |
|000008c0| 73 74 61 63 6b 20 67 6c | 6f 62 61 6c 4c 6f 6e 67 |stack gl|obalLong|
|000008d0| 0d 65 6c 73 65 20 69 66 | 20 28 22 24 4d 61 69 6c |.else if| ("$Mail|
|000008e0| 24 22 20 20 20 20 20 20 | 69 73 20 69 6e 20 22 24 |$" |is in "$|
|000008f0| 22 20 26 20 28 77 6f 72 | 64 20 31 20 6f 66 20 74 |" & (wor|d 1 of t|
|00000900| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00000910| 20 74 68 69 73 20 73 74 | 61 63 6b 29 20 26 20 22 | this st|ack) & "|
|00000920| 24 22 29 20 74 68 65 6e | 0d 70 75 74 20 22 22 20 |$") then|.put "" |
|00000930| 69 6e 74 6f 20 62 67 20 | 62 74 6e 20 22 2a 20 46 |into bg |btn "* F|
|00000940| 72 6f 6d 22 20 20 20 20 | 20 20 6f 66 20 66 69 72 |rom" | of fir|
|00000950| 73 74 20 63 64 20 6f 66 | 20 62 67 20 22 33 22 0d |st cd of| bg "3".|
|00000960| 70 75 74 20 22 22 20 69 | 6e 74 6f 20 62 67 20 62 |put "" i|nto bg b|
|00000970| 74 6e 20 22 2a 20 44 69 | 72 65 63 74 6f 72 79 22 |tn "* Di|rectory"|
|00000980| 20 6f 66 20 66 69 72 73 | 74 20 63 64 20 6f 66 20 | of firs|t cd of |
|00000990| 62 67 20 22 33 22 0d 70 | 75 74 20 22 22 20 69 6e |bg "3".p|ut "" in|
|000009a0| 74 6f 20 62 67 20 62 74 | 6e 20 22 2a 20 54 6f 22 |to bg bt|n "* To"|
|000009b0| 20 20 20 20 20 20 20 20 | 6f 66 20 66 69 72 73 74 | |of first|
|000009c0| 20 63 64 20 6f 66 20 62 | 67 20 22 33 22 0d 70 75 | cd of b|g "3".pu|
|000009d0| 74 20 22 22 20 69 6e 74 | 6f 20 62 67 20 62 74 6e |t "" int|o bg btn|
|000009e0| 20 22 2a 20 43 6f 70 79 | 20 54 6f 22 20 20 20 6f | "* Copy| To" o|
|000009f0| 66 20 66 69 72 73 74 20 | 63 64 20 6f 66 20 62 67 |f first |cd of bg|
|00000a00| 20 22 33 22 0d 65 6c 73 | 65 20 69 66 20 28 22 24 | "3".els|e if ("$|
|00000a10| 53 75 6e 61 74 6f 72 69 | 24 22 20 20 69 73 20 69 |Sunatori|$" is i|
|00000a20| 6e 20 22 24 22 20 26 20 | 28 77 6f 72 64 20 31 20 |n "$" & |(word 1 |
|00000a30| 6f 66 20 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |of the s|hort nam|
|00000a40| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 29 |e of thi|s stack)|
|00000a50| 20 26 20 22 24 22 29 20 | 74 68 65 6e 0d 69 66 20 | & "$") |then.if |
|00000a60| 28 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 |(there i|s a wind|
|00000a70| 6f 77 20 22 53 75 6e 61 | 74 6f 72 69 22 29 20 74 |ow "Suna|tori") t|
|00000a80| 68 65 6e 20 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen clos|e window|
|00000a90| 20 22 53 75 6e 61 74 6f | 72 69 22 0d 65 6e 64 20 | "Sunato|ri".end |
|00000aa0| 69 66 0d 70 75 74 20 73 | 74 61 63 6b 43 6c 6f 73 |if.put s|tackClos|
|00000ab0| 65 28 29 20 69 6e 74 6f | 20 6e 75 6c 6c 0d 65 6e |e() into| null.en|
|00000ac0| 64 20 69 66 0d 2d 2d 20 | 70 61 73 73 20 63 6c 6f |d if.-- |pass clo|
|00000ad0| 73 65 53 74 61 63 6b 0d | 65 6e 64 20 63 6c 6f 73 |seStack.|end clos|
|00000ae0| 65 53 74 61 63 6b 0d 0d | 6f 6e 20 63 6f 6c 6f 72 |eStack..|on color|
|00000af0| 4d 65 0d 41 64 64 43 6f | 6c 6f 72 20 63 6f 6c 6f |Me.AddCo|lor colo|
|00000b00| 72 43 61 72 64 2c 73 74 | 61 6d 70 2c 33 30 0d 65 |rCard,st|amp,30.e|
|00000b10| 6e 64 20 63 6f 6c 6f 72 | 4d 65 0d 0d 6f 6e 20 64 |nd color|Me..on d|
|00000b20| 65 6c 65 74 65 43 61 72 | 64 0d 69 66 20 28 74 68 |eleteCar|d.if (th|
|00000b30| 65 72 65 20 69 73 20 61 | 20 62 67 20 66 6c 64 20 |ere is a| bg fld |
|00000b40| 22 54 65 78 74 22 20 6f | 66 20 63 64 20 22 28 49 |"Text" o|f cd "(I|
|00000b50| 6e 64 65 78 29 22 29 20 | 74 68 65 6e 20 70 75 74 |ndex)") |then put|
|00000b60| 20 22 22 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 | "" into| bg fld |
|00000b70| 22 54 65 78 74 22 20 6f | 66 20 63 64 20 22 28 49 |"Text" o|f cd "(I|
|00000b80| 6e 64 65 78 29 22 0d 2d | 2d 20 70 61 73 73 20 64 |ndex)".-|- pass d|
|00000b90| 65 6c 65 74 65 43 61 72 | 64 0d 65 6e 64 20 64 65 |eleteCar|d.end de|
|00000ba0| 6c 65 74 65 43 61 72 64 | 0d 0d 6f 6e 20 6e 65 77 |leteCard|..on new|
|00000bb0| 43 61 72 64 0d 69 66 20 | 28 74 68 65 72 65 20 69 |Card.if |(there i|
|00000bc0| 73 20 61 20 62 67 20 66 | 6c 64 20 22 54 65 78 74 |s a bg f|ld "Text|
|00000bd0| 22 20 6f 66 20 63 64 20 | 22 28 49 6e 64 65 78 29 |" of cd |"(Index)|
|00000be0| 22 29 20 74 68 65 6e 20 | 70 75 74 20 22 22 20 69 |") then |put "" i|
|00000bf0| 6e 74 6f 20 62 67 20 66 | 6c 64 20 22 54 65 78 74 |nto bg f|ld "Text|
|00000c00| 22 20 6f 66 20 63 64 20 | 22 28 49 6e 64 65 78 29 |" of cd |"(Index)|
|00000c10| 22 0d 2d 2d 20 70 61 73 | 73 20 6e 65 77 43 61 72 |".-- pas|s newCar|
|00000c20| 64 0d 65 6e 64 20 6e 65 | 77 43 61 72 64 0d 0d 6f |d.end ne|wCard..o|
|00000c30| 6e 20 6f 70 65 6e 43 61 | 72 64 0d 2d 2d 20 53 65 |n openCa|rd.-- Se|
|00000c40| 6e 64 20 63 6f 6c 6f 72 | 4d 65 20 74 6f 20 74 68 |nd color|Me to th|
|00000c50| 69 73 20 63 64 0d 73 65 | 74 20 74 68 65 20 63 75 |is cd.se|t the cu|
|00000c60| 72 73 6f 72 20 74 6f 20 | 62 75 73 79 0d 6c 6f 63 |rsor to |busy.loc|
|00000c70| 6b 20 6d 65 73 73 61 67 | 65 73 0d 6c 6f 63 6b 20 |k messag|es.lock |
|00000c80| 73 63 72 65 65 6e 0d 69 | 66 20 28 68 79 70 65 72 |screen.i|f (hyper|
|00000c90| 49 6e 66 6f 28 29 20 69 | 73 20 74 72 75 65 29 20 |Info() i|s true) |
|00000ca0| 74 68 65 6e 0d 72 65 70 | 65 61 74 20 77 69 74 68 |then.rep|eat with|
|00000cb0| 20 69 20 3d 20 31 20 74 | 6f 20 74 68 65 20 6e 75 | i = 1 t|o the nu|
|00000cc0| 6d 62 65 72 20 6f 66 20 | 62 67 20 66 6c 64 73 0d |mber of |bg flds.|
|00000cd0| 69 66 20 28 74 68 65 20 | 73 74 79 6c 65 20 6f 66 |if (the |style of|
|00000ce0| 20 62 67 20 66 6c 64 20 | 69 20 69 73 20 73 63 72 | bg fld |i is scr|
|00000cf0| 6f 6c 6c 69 6e 67 29 20 | 74 68 65 6e 20 73 65 74 |olling) |then set|
|00000d00| 20 74 68 65 20 73 63 72 | 6f 6c 6c 20 6f 66 20 62 | the scr|oll of b|
|00000d10| 67 20 66 6c 64 20 69 20 | 74 6f 20 30 0d 65 6e 64 |g fld i |to 0.end|
|00000d20| 20 72 65 70 65 61 74 0d | 69 66 20 28 22 a5 22 20 | repeat.|if ("." |
|00000d30| 69 73 20 69 6e 20 74 68 | 65 20 73 68 6f 72 74 20 |is in th|e short |
|00000d40| 6e 61 6d 65 20 6f 66 20 | 74 68 69 73 20 63 64 29 |name of |this cd)|
|00000d50| 20 74 68 65 6e 0d 72 65 | 70 65 61 74 20 77 69 74 | then.re|peat wit|
|00000d60| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00000d70| 75 6d 62 65 72 20 6f 66 | 20 62 67 20 66 6c 64 73 |umber of| bg flds|
|00000d80| 0d 69 66 20 28 74 68 65 | 20 73 68 6f 72 74 20 6e |.if (the| short n|
|00000d90| 61 6d 65 20 6f 66 20 62 | 67 20 66 6c 64 20 69 20 |ame of b|g fld i |
|00000da0| 69 73 20 6e 6f 74 20 22 | 54 69 74 6c 65 22 29 20 |is not "|Title") |
|00000db0| 74 68 65 6e 20 68 69 64 | 65 20 62 67 20 66 6c 64 |then hid|e bg fld|
|00000dc0| 20 69 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 | i.end r|epeat.if|
|00000dd0| 20 28 22 a5 20 50 68 6f | 74 6f 22 20 69 73 20 69 | (". Pho|to" is i|
|00000de0| 6e 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |n the sh|ort name|
|00000df0| 20 6f 66 20 74 68 69 73 | 20 63 64 29 20 74 68 65 | of this| cd) the|
|00000e00| 6e 0d 70 75 74 20 73 68 | 6f 77 50 69 63 74 28 74 |n.put sh|owPict(t|
|00000e10| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00000e20| 20 74 68 69 73 20 63 64 | 20 26 20 22 20 28 46 61 | this cd| & " (Fa|
|00000e30| 63 65 29 22 2c 22 31 36 | 2c 31 34 34 2c 32 34 31 |ce)","16|,144,241|
|00000e40| 2c 33 36 39 22 29 20 20 | 69 6e 74 6f 20 6e 75 6c |,369") |into nul|
|00000e50| 6c 20 2d 2d 20 22 31 36 | 2c 31 34 34 2c 32 34 30 |l -- "16|,144,240|
|00000e60| 2c 33 36 38 22 0d 70 75 | 74 20 73 68 6f 77 50 69 |,368".pu|t showPi|
|00000e70| 63 74 28 74 68 65 20 73 | 68 6f 72 74 20 6e 61 6d |ct(the s|hort nam|
|00000e80| 65 20 6f 66 20 74 68 69 | 73 20 63 64 20 26 20 22 |e of thi|s cd & "|
|00000e90| 20 28 48 61 6e 64 29 22 | 2c 22 32 37 32 2c 31 34 | (Hand)"|,"272,14|
|00000ea0| 34 2c 34 39 37 2c 33 36 | 39 22 29 20 69 6e 74 6f |4,497,36|9") into|
|00000eb0| 20 6e 75 6c 6c 20 2d 2d | 20 22 32 37 32 2c 31 34 | null --| "272,14|
|00000ec0| 34 2c 34 39 36 2c 33 36 | 38 22 0d 65 6c 73 65 0d |4,496,36|8".else.|
|00000ed0| 70 75 74 20 73 68 6f 77 | 50 69 63 74 28 74 68 65 |put show|Pict(the|
|00000ee0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00000ef0| 68 69 73 20 63 64 2c 22 | 31 36 2c 31 36 2c 34 39 |his cd,"|16,16,49|
|00000f00| 37 2c 34 39 37 22 29 20 | 69 6e 74 6f 20 6e 75 6c |7,497") |into nul|
|00000f10| 6c 20 2d 2d 20 22 31 36 | 2c 31 36 2c 34 39 36 2c |l -- "16|,16,496,|
|00000f20| 34 39 36 22 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |496".end| if.else|
|00000f30| 0d 69 66 20 20 20 20 20 | 20 28 28 74 68 65 72 65 |.if | ((there|
|00000f40| 20 69 73 20 61 20 62 67 | 20 66 6c 64 20 22 54 79 | is a bg| fld "Ty|
|00000f50| 70 65 22 29 20 61 6e 64 | 20 28 74 68 65 72 65 20 |pe") and| (there |
|00000f60| 69 73 20 61 20 62 67 20 | 66 6c 64 20 22 56 61 6c |is a bg |fld "Val|
|00000f70| 75 65 22 29 29 20 74 68 | 65 6e 0d 73 65 6c 65 63 |ue")) th|en.selec|
|00000f80| 74 20 62 65 66 6f 72 65 | 20 74 65 78 74 20 6f 66 |t before| text of|
|00000f90| 20 62 67 20 66 6c 64 20 | 22 56 61 6c 75 65 22 0d | bg fld |"Value".|
|00000fa0| 65 6c 73 65 20 69 66 20 | 28 28 74 68 65 72 65 20 |else if |((there |
|00000fb0| 69 73 20 61 20 62 67 20 | 66 6c 64 20 22 45 6e 67 |is a bg |fld "Eng|
|00000fc0| 6c 69 73 68 22 29 20 61 | 6e 64 20 28 74 68 65 72 |lish") a|nd (ther|
|00000fd0| 65 20 69 73 20 61 20 62 | 67 20 66 6c 64 20 22 46 |e is a b|g fld "F|
|00000fe0| 72 65 6e 63 68 22 29 29 | 20 74 68 65 6e 0d 69 66 |rench"))| then.if|
|00000ff0| 20 28 28 62 67 20 66 6c | 64 20 22 45 6e 67 6c 69 | ((bg fl|d "Engli|
|00001000| 73 68 22 20 69 73 20 6e | 6f 74 20 22 22 29 20 6f |sh" is n|ot "") o|
|00001010| 72 20 28 62 67 20 66 6c | 64 20 22 46 72 65 6e 63 |r (bg fl|d "Frenc|
|00001020| 68 22 20 69 73 20 6e 6f | 74 20 22 22 29 29 20 74 |h" is no|t "")) t|
|00001030| 68 65 6e 0d 70 75 74 20 | 66 6c 69 70 54 68 65 6d |hen.put |flipThem|
|00001040| 28 22 53 69 6e 67 6c 65 | 22 29 20 69 6e 74 6f 20 |("Single|") into |
|00001050| 6e 75 6c 6c 0d 65 6c 73 | 65 0d 70 75 74 20 66 6c |null.els|e.put fl|
|00001060| 69 70 54 68 65 6d 28 22 | 44 6f 75 62 6c 65 22 29 |ipThem("|Double")|
|00001070| 20 69 6e 74 6f 20 6e 75 | 6c 6c 0d 65 6e 64 20 69 | into nu|ll.end i|
|00001080| 66 0d 65 6c 73 65 20 69 | 66 20 28 74 68 65 72 65 |f.else i|f (there|
|00001090| 20 69 73 20 61 20 62 67 | 20 66 6c 64 20 22 54 65 | is a bg| fld "Te|
|000010a0| 78 74 22 29 20 74 68 65 | 6e 0d 73 65 6c 65 63 74 |xt") the|n.select|
|000010b0| 20 62 65 66 6f 72 65 20 | 74 65 78 74 20 6f 66 20 | before |text of |
|000010c0| 62 67 20 66 6c 64 20 22 | 54 65 78 74 22 0d 73 68 |bg fld "|Text".sh|
|000010d0| 6f 77 20 62 67 20 66 6c | 64 20 22 54 65 78 74 22 |ow bg fl|d "Text"|
|000010e0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 69 |.end if.|end if.i|
|000010f0| 66 20 28 74 68 65 72 65 | 20 69 73 20 61 20 62 67 |f (there| is a bg|
|00001100| 20 66 6c 64 20 22 54 65 | 78 74 22 29 20 20 20 20 | fld "Te|xt") |
|00001110| 20 20 20 20 20 20 20 20 | 74 68 65 6e 20 41 64 64 | |then Add|
|00001120| 43 6f 6c 6f 72 20 63 6f | 6c 6f 72 46 69 65 6c 64 |Color co|lorField|
|00001130| 2c 22 62 67 22 2c 74 68 | 65 20 69 64 20 6f 66 20 |,"bg",th|e id of |
|00001140| 62 67 20 66 6c 64 20 22 | 54 65 78 74 22 2c 22 36 |bg fld "|Text","6|
|00001150| 30 30 30 30 2c 36 30 30 | 30 30 2c 36 30 30 30 30 |0000,600|00,60000|
|00001160| 22 2c 31 0d 69 66 20 28 | 74 68 65 72 65 20 69 73 |",1.if (|there is|
|00001170| 20 61 20 62 67 20 66 6c | 64 20 22 43 6f 6e 74 65 | a bg fl|d "Conte|
|00001180| 6e 74 73 22 29 20 20 20 | 20 20 20 20 20 74 68 65 |nts") | the|
|00001190| 6e 20 41 64 64 43 6f 6c | 6f 72 20 63 6f 6c 6f 72 |n AddCol|or color|
|000011a0| 46 69 65 6c 64 2c 22 62 | 67 22 2c 74 68 65 20 69 |Field,"b|g",the i|
|000011b0| 64 20 6f 66 20 62 67 20 | 66 6c 64 20 22 43 6f 6e |d of bg |fld "Con|
|000011c0| 74 65 6e 74 73 22 2c 22 | 34 30 30 30 30 2c 34 30 |tents","|40000,40|
|000011d0| 30 30 30 2c 34 30 30 30 | 30 22 2c 31 0d 69 66 20 |000,4000|0",1.if |
|000011e0| 28 74 68 65 72 65 20 69 | 73 20 61 20 62 67 20 66 |(there i|s a bg f|
|000011f0| 6c 64 20 22 45 6e 67 6c | 69 73 68 22 29 20 20 20 |ld "Engl|ish") |
|00001200| 20 20 20 20 20 20 74 68 | 65 6e 20 41 64 64 43 6f | th|en AddCo|
|00001210| 6c 6f 72 20 63 6f 6c 6f | 72 46 69 65 6c 64 2c 22 |lor colo|rField,"|
|00001220| 62 67 22 2c 74 68 65 20 | 69 64 20 6f 66 20 62 67 |bg",the |id of bg|
|00001230| 20 66 6c 64 20 22 45 6e | 67 6c 69 73 68 22 2c 22 | fld "En|glish","|
|00001240| 36 30 30 30 30 2c 36 30 | 30 30 30 2c 34 30 30 30 |60000,60|000,4000|
|00001250| 30 22 2c 31 0d 69 66 20 | 28 74 68 65 72 65 20 69 |0",1.if |(there i|
|00001260| 73 20 61 20 62 67 20 66 | 6c 64 20 22 46 72 65 6e |s a bg f|ld "Fren|
|00001270| 63 68 22 29 20 20 20 20 | 20 20 20 20 20 20 74 68 |ch") | th|
|00001280| 65 6e 20 41 64 64 43 6f | 6c 6f 72 20 63 6f 6c 6f |en AddCo|lor colo|
|00001290| 72 46 69 65 6c 64 2c 22 | 62 67 22 2c 74 68 65 20 |rField,"|bg",the |
|000012a0| 69 64 20 6f 66 20 62 67 | 20 66 6c 64 20 22 46 72 |id of bg| fld "Fr|
|000012b0| 65 6e 63 68 22 2c 22 36 | 30 30 30 30 2c 36 30 30 |ench","6|0000,600|
|000012c0| 30 30 2c 34 30 30 30 30 | 22 2c 31 0d 69 66 20 28 |00,40000|",1.if (|
|000012d0| 74 68 65 72 65 20 69 73 | 20 61 20 62 67 20 66 6c |there is| a bg fl|
|000012e0| 64 20 22 4e 6f 74 65 73 | 22 29 20 20 20 20 20 20 |d "Notes|") |
|000012f0| 20 20 20 20 20 74 68 65 | 6e 20 41 64 64 43 6f 6c | the|n AddCol|
|00001300| 6f 72 20 63 6f 6c 6f 72 | 46 69 65 6c 64 2c 22 62 |or color|Field,"b|
|00001310| 67 22 2c 74 68 65 20 69 | 64 20 6f 66 20 62 67 20 |g",the i|d of bg |
|00001320| 66 6c 64 20 22 4e 6f 74 | 65 73 22 2c 22 36 30 30 |fld "Not|es","600|
|00001330| 30 30 2c 34 30 30 30 30 | 2c 35 30 30 30 30 22 2c |00,40000|,50000",|
|00001340| 31 0d 69 66 20 28 74 68 | 65 72 65 20 69 73 20 61 |1.if (th|ere is a|
|00001350| 20 62 67 20 66 6c 64 20 | 22 53 63 72 69 70 74 22 | bg fld |"Script"|
|00001360| 29 20 20 20 20 20 20 20 | 20 20 20 74 68 65 6e 20 |) | then |
|00001370| 41 64 64 43 6f 6c 6f 72 | 20 63 6f 6c 6f 72 46 69 |AddColor| colorFi|
|00001380| 65 6c 64 2c 22 62 67 22 | 2c 74 68 65 20 69 64 20 |eld,"bg"|,the id |
|00001390| 6f 66 20 62 67 20 66 6c | 64 20 22 53 63 72 69 70 |of bg fl|d "Scrip|
|000013a0| 74 22 2c 22 35 30 30 30 | 30 2c 35 30 30 30 30 2c |t","5000|0,50000,|
|000013b0| 35 30 30 30 30 22 2c 31 | 0d 69 66 20 28 74 68 65 |50000",1|.if (the|
|000013c0| 72 65 20 69 73 20 61 20 | 62 67 20 66 6c 64 20 22 |re is a |bg fld "|
|000013d0| 54 69 74 6c 65 22 29 20 | 20 20 20 20 20 20 20 20 |Title") | |
|000013e0| 20 20 74 68 65 6e 20 41 | 64 64 43 6f 6c 6f 72 20 | then A|ddColor |
|000013f0| 63 6f 6c 6f 72 46 69 65 | 6c 64 2c 22 62 67 22 2c |colorFie|ld,"bg",|
|00001400| 74 68 65 20 69 64 20 6f | 66 20 62 67 20 66 6c 64 |the id o|f bg fld|
|00001410| 20 22 54 69 74 6c 65 22 | 2c 22 35 30 30 30 30 2c | "Title"|,"50000,|
|00001420| 34 30 30 30 30 2c 36 30 | 30 30 30 22 2c 31 0d 69 |40000,60|000",1.i|
|00001430| 66 20 28 74 68 65 72 65 | 20 69 73 20 61 20 62 67 |f (there| is a bg|
|00001440| 20 66 6c 64 20 22 54 79 | 70 65 22 29 20 20 20 20 | fld "Ty|pe") |
|00001450| 20 20 20 20 20 20 20 20 | 74 68 65 6e 20 41 64 64 | |then Add|
|00001460| 43 6f 6c 6f 72 20 63 6f | 6c 6f 72 46 69 65 6c 64 |Color co|lorField|
|00001470| 2c 22 62 67 22 2c 74 68 | 65 20 69 64 20 6f 66 20 |,"bg",th|e id of |
|00001480| 62 67 20 66 6c 64 20 22 | 54 79 70 65 22 2c 22 34 |bg fld "|Type","4|
|00001490| 30 30 30 30 2c 35 30 30 | 30 30 2c 36 30 30 30 30 |0000,500|00,60000|
|000014a0| 22 2c 31 0d 69 66 20 28 | 74 68 65 72 65 20 69 73 |",1.if (|there is|
|000014b0| 20 61 20 62 67 20 66 6c | 64 20 22 56 61 6c 75 65 | a bg fl|d "Value|
|000014c0| 22 29 20 20 20 20 20 20 | 20 20 20 20 20 74 68 65 |") | the|
|000014d0| 6e 20 41 64 64 43 6f 6c | 6f 72 20 63 6f 6c 6f 72 |n AddCol|or color|
|000014e0| 46 69 65 6c 64 2c 22 62 | 67 22 2c 74 68 65 20 69 |Field,"b|g",the i|
|000014f0| 64 20 6f 66 20 62 67 20 | 66 6c 64 20 22 56 61 6c |d of bg |fld "Val|
|00001500| 75 65 22 2c 22 35 30 30 | 30 30 2c 36 30 30 30 30 |ue","500|00,60000|
|00001510| 2c 34 30 30 30 30 22 2c | 31 0d 69 66 20 28 74 68 |,40000",|1.if (th|
|00001520| 65 72 65 20 69 73 20 61 | 20 63 64 20 66 6c 64 20 |ere is a| cd fld |
|00001530| 22 48 79 70 65 72 49 6e | 66 6f 20 49 6e 64 65 78 |"HyperIn|fo Index|
|00001540| 22 29 20 74 68 65 6e 20 | 41 64 64 43 6f 6c 6f 72 |") then |AddColor|
|00001550| 20 63 6f 6c 6f 72 46 69 | 65 6c 64 2c 22 63 64 22 | colorFi|eld,"cd"|
|00001560| 2c 74 68 65 20 69 64 20 | 6f 66 20 63 64 20 66 6c |,the id |of cd fl|
|00001570| 64 20 22 48 79 70 65 72 | 49 6e 66 6f 20 49 6e 64 |d "Hyper|Info Ind|
|00001580| 65 78 22 2c 22 36 30 30 | 30 30 2c 35 30 30 30 30 |ex","600|00,50000|
|00001590| 2c 34 30 30 30 30 22 2c | 31 0d 69 66 20 28 74 68 |,40000",|1.if (th|
|000015a0| 65 72 65 20 69 73 20 61 | 20 63 64 20 66 6c 64 20 |ere is a| cd fld |
|000015b0| 22 49 6e 64 65 78 22 29 | 20 20 20 20 20 20 20 20 |"Index")| |
|000015c0| 20 20 20 74 68 65 6e 20 | 41 64 64 43 6f 6c 6f 72 | then |AddColor|
|000015d0| 20 63 6f 6c 6f 72 46 69 | 65 6c 64 2c 22 63 64 22 | colorFi|eld,"cd"|
|000015e0| 2c 74 68 65 20 69 64 20 | 6f 66 20 63 64 20 66 6c |,the id |of cd fl|
|000015f0| 64 20 22 49 6e 64 65 78 | 22 2c 22 34 30 30 30 30 |d "Index|","40000|
|00001600| 2c 36 30 30 30 30 2c 35 | 30 30 30 30 22 2c 31 0d |,60000,5|0000",1.|
|00001610| 69 66 20 28 74 68 65 72 | 65 20 69 73 20 61 20 63 |if (ther|e is a c|
|00001620| 64 20 66 6c 64 20 22 4e | 61 6d 65 73 22 29 20 20 |d fld "N|ames") |
|00001630| 20 20 20 20 20 20 20 20 | 20 74 68 65 6e 20 41 64 | | then Ad|
|00001640| 64 43 6f 6c 6f 72 20 63 | 6f 6c 6f 72 46 69 65 6c |dColor c|olorFiel|
|00001650| 64 2c 22 63 64 22 2c 74 | 68 65 20 69 64 20 6f 66 |d,"cd",t|he id of|
|00001660| 20 63 64 20 66 6c 64 20 | 22 4e 61 6d 65 73 22 2c | cd fld |"Names",|
|00001670| 22 36 30 30 30 30 2c 34 | 30 30 30 30 2c 36 30 30 |"60000,4|0000,600|
|00001680| 30 30 22 2c 31 0d 69 66 | 20 28 74 68 65 72 65 20 |00",1.if| (there |
|00001690| 69 73 20 61 20 62 67 20 | 62 74 6e 20 22 2a 20 41 |is a bg |btn "* A|
|000016a0| 63 74 69 6f 6e 22 29 20 | 20 20 20 20 20 20 20 74 |ction") | t|
|000016b0| 68 65 6e 20 41 64 64 43 | 6f 6c 6f 72 20 63 6f 6c |hen AddC|olor col|
|000016c0| 6f 72 42 75 74 74 6f 6e | 2c 22 62 67 22 2c 74 68 |orButton|,"bg",th|
|000016d0| 65 20 69 64 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |e id of |bg btn "|
|000016e0| 2a 20 41 63 74 69 6f 6e | 22 2c 22 36 30 30 30 30 |* Action|","60000|
|000016f0| 2c 34 30 30 30 30 2c 34 | 30 30 30 30 22 2c 31 0d |,40000,4|0000",1.|
|00001700| 69 66 20 28 74 68 65 72 | 65 20 69 73 20 61 20 62 |if (ther|e is a b|
|00001710| 67 20 62 74 6e 20 22 2a | 20 43 6c 6f 73 75 72 65 |g btn "*| Closure|
|00001720| 22 29 20 20 20 20 20 20 | 20 74 68 65 6e 20 41 64 |") | then Ad|
|00001730| 64 43 6f 6c 6f 72 20 63 | 6f 6c 6f 72 42 75 74 74 |dColor c|olorButt|
|00001740| 6f 6e 2c 22 62 67 22 2c | 74 68 65 20 69 64 20 6f |on,"bg",|the id o|
|00001750| 66 20 62 67 20 62 74 6e | 20 22 2a 20 43 6c 6f 73 |f bg btn| "* Clos|
|00001760| 75 72 65 22 2c 22 34 30 | 30 30 30 2c 36 30 30 30 |ure","40|000,6000|
|00001770| 30 2c 34 30 30 30 30 22 | 2c 31 0d 69 66 20 28 74 |0,40000"|,1.if (t|
|00001780| 68 65 72 65 20 69 73 20 | 61 20 62 67 20 62 74 6e |here is |a bg btn|
|00001790| 20 22 2a 20 43 6f 70 79 | 20 54 6f 22 29 20 20 20 | "* Copy| To") |
|000017a0| 20 20 20 20 74 68 65 6e | 20 41 64 64 43 6f 6c 6f | then| AddColo|
|000017b0| 72 20 63 6f 6c 6f 72 42 | 75 74 74 6f 6e 2c 22 62 |r colorB|utton,"b|
|000017c0| 67 22 2c 74 68 65 20 69 | 64 20 6f 66 20 62 67 20 |g",the i|d of bg |
|000017d0| 62 74 6e 20 22 2a 20 43 | 6f 70 79 20 54 6f 22 2c |btn "* C|opy To",|
|000017e0| 22 34 30 30 30 30 2c 34 | 30 30 30 30 2c 36 30 30 |"40000,4|0000,600|
|000017f0| 30 30 22 2c 31 0d 69 66 | 20 28 74 68 65 72 65 20 |00",1.if| (there |
|00001800| 69 73 20 61 20 62 67 20 | 62 74 6e 20 22 2a 20 44 |is a bg |btn "* D|
|00001810| 69 72 65 63 74 6f 72 79 | 22 29 20 20 20 20 20 74 |irectory|") t|
|00001820| 68 65 6e 20 41 64 64 43 | 6f 6c 6f 72 20 63 6f 6c |hen AddC|olor col|
|00001830| 6f 72 42 75 74 74 6f 6e | 2c 22 62 67 22 2c 74 68 |orButton|,"bg",th|
|00001840| 65 20 69 64 20 6f 66 20 | 62 67 20 62 74 6e 20 22 |e id of |bg btn "|
|00001850| 2a 20 44 69 72 65 63 74 | 6f 72 79 22 2c 22 36 30 |* Direct|ory","60|
|00001860| 30 30 30 2c 34 30 30 30 | 30 2c 34 30 30 30 30 22 |000,4000|0,40000"|
|00001870| 2c 31 0d 69 66 20 28 74 | 68 65 72 65 20 69 73 20 |,1.if (t|here is |
|00001880| 61 20 62 67 20 62 74 6e | 20 22 2a 20 46 72 6f 6d |a bg btn| "* From|
|00001890| 22 29 20 20 20 20 20 20 | 20 20 20 20 74 68 65 6e |") | then|
|000018a0| 20 41 64 64 43 6f 6c 6f | 72 20 63 6f 6c 6f 72 42 | AddColo|r colorB|
|000018b0| 75 74 74 6f 6e 2c 22 62 | 67 22 2c 74 68 65 20 69 |utton,"b|g",the i|
|000018c0| 64 20 6f 66 20 62 67 20 | 62 74 6e 20 22 2a 20 46 |d of bg |btn "* F|
|000018d0| 72 6f 6d 22 2c 22 34 30 | 30 30 30 2c 34 30 30 30 |rom","40|000,4000|
|000018e0| 30 2c 36 30 30 30 30 22 | 2c 31 0d 69 66 20 28 74 |0,60000"|,1.if (t|
|000018f0| 68 65 72 65 20 69 73 20 | 61 20 62 67 20 62 74 6e |here is |a bg btn|
|00001900| 20 22 2a 20 53 61 6c 75 | 74 61 74 69 6f 6e 22 29 | "* Salu|tation")|
|00001910| 20 20 20 20 74 68 65 6e | 20 41 64 64 43 6f 6c 6f | then| AddColo|
|00001920| 72 20 63 6f 6c 6f 72 42 | 75 74 74 6f 6e 2c 22 62 |r colorB|utton,"b|
|00001930| 67 22 2c 74 68 65 20 69 | 64 20 6f 66 20 62 67 20 |g",the i|d of bg |
|00001940| 62 74 6e 20 22 2a 20 53 | 61 6c 75 74 61 74 69 6f |btn "* S|alutatio|
|00001950| 6e 22 2c 22 34 30 30 30 | 30 2c 36 30 30 30 30 2c |n","4000|0,60000,|
|00001960| 34 30 30 30 30 22 2c 31 | 0d 69 66 20 28 74 68 65 |40000",1|.if (the|
|00001970| 72 65 20 69 73 20 61 20 | 62 67 20 62 74 6e 20 22 |re is a |bg btn "|
|00001980| 2a 20 54 6f 22 29 20 20 | 20 20 20 20 20 20 20 20 |* To") | |
|00001990| 20 20 74 68 65 6e 20 41 | 64 64 43 6f 6c 6f 72 20 | then A|ddColor |
|000019a0| 63 6f 6c 6f 72 42 75 74 | 74 6f 6e 2c 22 62 67 22 |colorBut|ton,"bg"|
|000019b0| 2c 74 68 65 20 69 64 20 | 6f 66 20 62 67 20 62 74 |,the id |of bg bt|
|000019c0| 6e 20 22 2a 20 54 6f 22 | 2c 22 34 30 30 30 30 2c |n "* To"|,"40000,|
|000019d0| 34 30 30 30 30 2c 36 30 | 30 30 30 22 2c 31 0d 65 |40000,60|000",1.e|
|000019e0| 6e 64 20 69 66 0d 75 6e | 6c 6f 63 6b 20 6d 65 73 |nd if.un|lock mes|
|000019f0| 73 61 67 65 73 0d 75 6e | 6c 6f 63 6b 20 73 63 72 |sages.un|lock scr|
|00001a00| 65 65 6e 0d 2d 2d 20 70 | 61 73 73 20 6f 70 65 6e |een.-- p|ass open|
|00001a10| 43 61 72 64 0d 65 6e 64 | 20 6f 70 65 6e 43 61 72 |Card.end| openCar|
|00001a20| 64 0d 0d 6f 6e 20 6f 70 | 65 6e 53 74 61 63 6b 0d |d..on op|enStack.|
|00001a30| 41 64 64 43 6f 6c 6f 72 | 20 69 6e 73 74 61 6c 6c |AddColor| install|
|00001a40| 0d 67 6c 6f 62 61 6c 20 | 67 6c 6f 62 61 6c 4c 6f |.global |globalLo|
|00001a50| 6e 67 2c 67 6c 6f 62 61 | 6c 53 68 6f 72 74 2c 67 |ng,globa|lShort,g|
|00001a60| 6c 6f 62 61 6c 4d 65 73 | 73 61 67 65 0d 73 65 74 |lobalMes|sage.set|
|00001a70| 20 74 68 65 20 63 75 72 | 73 6f 72 20 74 6f 20 62 | the cur|sor to b|
|00001a80| 75 73 79 0d 69 66 20 28 | 68 79 70 65 72 49 6e 66 |usy.if (|hyperInf|
|00001a90| 6f 28 29 20 69 73 20 74 | 72 75 65 29 20 74 68 65 |o() is t|rue) the|
|00001aa0| 6e 0d 69 66 20 20 20 20 | 20 20 28 22 24 43 61 6c |n.if | ("$Cal|
|00001ab0| 65 6e 64 61 72 24 22 20 | 20 69 73 20 69 6e 20 22 |endar$" | is in "|
|00001ac0| 24 22 20 26 20 28 77 6f | 72 64 20 31 20 6f 66 20 |$" & (wo|rd 1 of |
|00001ad0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00001ae0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 26 20 |f this s|tack) & |
|00001af0| 22 24 22 29 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |"$") the|n.set th|
|00001b00| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 63 64 |e locati|on of cd|
|00001b10| 20 77 69 6e 64 6f 77 20 | 74 6f 20 31 39 32 2c 34 | window |to 192,4|
|00001b20| 38 0d 65 6c 73 65 20 69 | 66 20 28 22 24 44 69 72 |8.else i|f ("$Dir|
|00001b30| 65 63 74 6f 72 79 24 22 | 20 69 73 20 69 6e 20 22 |ectory$"| is in "|
|00001b40| 24 22 20 26 20 28 77 6f | 72 64 20 31 20 6f 66 20 |$" & (wo|rd 1 of |
|00001b50| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00001b60| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 26 20 |f this s|tack) & |
|00001b70| 22 24 22 29 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |"$") the|n.set th|
|00001b80| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 63 64 |e locati|on of cd|
|00001b90| 20 77 69 6e 64 6f 77 20 | 74 6f 20 31 36 30 2c 39 | window |to 160,9|
|00001ba0| 36 0d 70 75 74 20 22 22 | 20 69 6e 74 6f 20 63 64 |6.put ""| into cd|
|00001bb0| 20 66 6c 64 20 22 4e 61 | 6d 65 73 22 0d 65 6c 73 | fld "Na|mes".els|
|00001bc0| 65 20 69 66 20 28 22 24 | 48 79 70 65 72 49 6e 66 |e if ("$|HyperInf|
|00001bd0| 6f 24 22 20 69 73 20 69 | 6e 20 22 24 22 20 26 20 |o$" is i|n "$" & |
|00001be0| 28 77 6f 72 64 20 31 20 | 6f 66 20 74 68 65 20 73 |(word 1 |of the s|
|00001bf0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00001c00| 73 20 73 74 61 63 6b 29 | 20 26 20 22 24 22 29 20 |s stack)| & "$") |
|00001c10| 74 68 65 6e 0d 73 68 6f | 77 20 6d 65 6e 75 42 61 |then.sho|w menuBa|
|00001c20| 72 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 61 74 69 |r.set th|e locati|
|00001c30| 6f 6e 20 6f 66 20 63 64 | 20 77 69 6e 64 6f 77 20 |on of cd| window |
|00001c40| 74 6f 20 31 31 32 2c 34 | 38 0d 70 61 6c 65 74 74 |to 112,4|8.palett|
|00001c50| 65 20 22 4e 61 76 69 67 | 61 74 6f 72 22 2c 22 2d |e "Navig|ator","-|
|00001c60| 31 31 32 2c 30 22 0d 73 | 68 6f 77 20 74 6f 6f 6c |112,0".s|how tool|
|00001c70| 20 20 20 20 77 69 6e 64 | 6f 77 20 61 74 20 2d 31 | wind|ow at -1|
|00001c80| 31 32 2c 31 31 32 0d 73 | 68 6f 77 20 70 61 74 74 |12,112.s|how patt|
|00001c90| 65 72 6e 20 77 69 6e 64 | 6f 77 20 61 74 20 2d 31 |ern wind|ow at -1|
|00001ca0| 31 32 2c 32 38 38 0d 73 | 68 6f 77 20 6d 65 73 73 |12,288.s|how mess|
|00001cb0| 61 67 65 20 77 69 6e 64 | 6f 77 20 61 74 20 30 2c |age wind|ow at 0,|
|00001cc0| 35 34 34 0d 68 69 64 65 | 20 6d 65 73 73 61 67 65 |544.hide| message|
|00001cd0| 20 77 69 6e 64 6f 77 0d | 70 75 74 20 73 61 79 49 | window.|put sayI|
|00001ce0| 74 28 22 57 65 6c 63 6f | 6d 65 20 74 6f 20 48 79 |t("Welco|me to Hy|
|00001cf0| 70 65 72 49 6e 66 6f 20 | 49 6e 74 65 6c 6c 69 67 |perInfo |Intellig|
|00001d00| 65 6e 74 20 4f 72 67 61 | 6e 69 73 61 74 69 6f 6e |ent Orga|nisation|
|00001d10| 20 53 79 73 74 65 6d 22 | 29 20 69 6e 74 6f 20 6e | System"|) into n|
|00001d20| 75 6c 6c 0d 73 65 74 20 | 74 68 65 20 75 73 65 72 |ull.set |the user|
|00001d30| 4c 65 76 65 6c 20 74 6f | 20 35 0d 73 65 74 20 74 |Level to| 5.set t|
|00001d40| 68 65 20 62 6c 69 6e 64 | 54 79 70 69 6e 67 20 74 |he blind|Typing t|
|00001d50| 6f 20 74 72 75 65 0d 73 | 65 74 20 74 68 65 20 74 |o true.s|et the t|
|00001d60| 65 78 74 41 72 72 6f 77 | 73 20 20 74 6f 20 74 72 |extArrow|s to tr|
|00001d70| 75 65 0d 73 65 74 20 74 | 68 65 20 70 6f 77 65 72 |ue.set t|he power|
|00001d80| 4b 65 79 73 20 20 20 74 | 6f 20 74 72 75 65 0d 73 |Keys t|o true.s|
|00001d90| 65 74 20 74 68 65 20 6d | 65 6e 75 4d 65 73 73 61 |et the m|enuMessa|
|00001da0| 67 65 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |ge of me|nuItem "|
|00001db0| 46 69 6e 64 2e 2e 2e 22 | 20 6f 66 20 6d 65 6e 75 |Find..."| of menu|
|00001dc0| 20 22 47 6f 22 20 74 6f | 20 70 75 74 20 66 69 6e | "Go" to| put fin|
|00001dd0| 64 52 65 70 6c 61 63 65 | 28 29 20 20 69 6e 74 6f |dReplace|() into|
|00001de0| 20 6e 75 6c 6c 0d 73 65 | 74 20 74 68 65 20 6d 65 | null.se|t the me|
|00001df0| 6e 75 4d 65 73 73 61 67 | 65 20 6f 66 20 6d 65 6e |nuMessag|e of men|
|00001e00| 75 49 74 65 6d 20 22 4e | 65 78 74 22 20 20 20 20 |uItem "N|ext" |
|00001e10| 6f 66 20 6d 65 6e 75 20 | 22 47 6f 22 20 74 6f 20 |of menu |"Go" to |
|00001e20| 70 75 74 20 76 69 73 75 | 61 6c 47 6f 28 4e 65 78 |put visu|alGo(Nex|
|00001e30| 74 29 20 69 6e 74 6f 20 | 6e 75 6c 6c 0d 73 65 74 |t) into |null.set|
|00001e40| 20 74 68 65 20 6d 65 6e | 75 4d 65 73 73 61 67 65 | the men|uMessage|
|00001e50| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 50 72 | of menu|Item "Pr|
|00001e60| 65 76 22 20 20 20 20 6f | 66 20 6d 65 6e 75 20 22 |ev" o|f menu "|
|00001e70| 47 6f 22 20 74 6f 20 70 | 75 74 20 76 69 73 75 61 |Go" to p|ut visua|
|00001e80| 6c 47 6f 28 50 72 65 76 | 29 20 69 6e 74 6f 20 6e |lGo(Prev|) into n|
|00001e90| 75 6c 6c 0d 73 65 74 20 | 74 68 65 20 73 63 72 69 |ull.set |the scri|
|00001ea0| 70 74 54 65 78 74 46 6f | 6e 74 20 74 6f 20 22 43 |ptTextFo|nt to "C|
|00001eb0| 6f 75 72 69 65 72 22 0d | 73 65 74 20 74 68 65 20 |ourier".|set the |
|00001ec0| 73 63 72 69 70 74 54 65 | 78 74 53 69 7a 65 20 74 |scriptTe|xtSize t|
|00001ed0| 6f 20 31 30 0d 73 65 74 | 20 74 68 65 20 74 65 78 |o 10.set| the tex|
|00001ee0| 74 46 6f 6e 74 20 6f 66 | 20 74 68 65 20 6d 65 73 |tFont of| the mes|
|00001ef0| 73 61 67 65 20 62 6f 78 | 20 74 6f 20 22 43 6f 75 |sage box| to "Cou|
|00001f00| 72 69 65 72 22 0d 73 65 | 74 20 74 68 65 20 54 65 |rier".se|t the Te|
|00001f10| 78 74 53 69 7a 65 20 6f | 66 20 74 68 65 20 6d 65 |xtSize o|f the me|
|00001f20| 73 73 61 67 65 20 62 6f | 78 20 74 6f 20 31 30 0d |ssage bo|x to 10.|
|00001f30| 70 75 74 20 74 68 65 20 | 6c 6f 6e 67 20 20 6e 61 |put the |long na|
|00001f40| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00001f50| 20 69 6e 74 6f 20 67 6c | 6f 62 61 6c 4c 6f 6e 67 | into gl|obalLong|
|00001f60| 0d 70 75 74 20 74 68 65 | 20 73 68 6f 72 74 20 6e |.put the| short n|
|00001f70| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00001f80| 6b 20 69 6e 74 6f 20 67 | 6c 6f 62 61 6c 53 68 6f |k into g|lobalSho|
|00001f90| 72 74 0d 64 65 6c 65 74 | 65 20 66 69 72 73 74 20 |rt.delet|e first |
|00001fa0| 77 6f 72 64 20 6f 66 20 | 67 6c 6f 62 61 6c 4c 6f |word of |globalLo|
|00001fb0| 6e 67 0d 64 65 6c 65 74 | 65 20 66 69 72 73 74 20 |ng.delet|e first |
|00001fc0| 63 68 61 72 20 6f 66 20 | 67 6c 6f 62 61 6c 4c 6f |char of |globalLo|
|00001fd0| 6e 67 0d 64 65 6c 65 74 | 65 20 6c 61 73 74 20 20 |ng.delet|e last |
|00001fe0| 63 68 61 72 20 6f 66 20 | 67 6c 6f 62 61 6c 4c 6f |char of |globalLo|
|00001ff0| 6e 67 0d 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |ng.start| using s|
|00002000| 74 61 63 6b 20 67 6c 6f | 62 61 6c 4c 6f 6e 67 0d |tack glo|balLong.|
|00002010| 73 74 61 72 74 20 75 73 | 69 6e 67 20 73 74 61 63 |start us|ing stac|
|00002020| 6b 20 22 50 6f 77 65 72 | 20 54 6f 6f 6c 73 22 0d |k "Power| Tools".|
|00002030| 69 66 20 28 74 68 65 72 | 65 20 69 73 20 6e 6f 74 |if (ther|e is not|
|00002040| 20 61 20 6d 65 6e 75 20 | 67 6c 6f 62 61 6c 53 68 | a menu |globalSh|
|00002050| 6f 72 74 29 20 74 68 65 | 6e 20 63 72 65 61 74 65 |ort) the|n create|
|00002060| 20 6d 65 6e 75 20 67 6c | 6f 62 61 6c 53 68 6f 72 | menu gl|obalShor|
|00002070| 74 0d 70 75 74 20 22 41 | 62 6f 75 74 20 22 20 26 |t.put "A|bout " &|
|00002080| 20 67 6c 6f 62 61 6c 53 | 68 6f 72 74 20 26 20 22 | globalS|hort & "|
|00002090| 2e 2e 2e 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |..." & r|eturn & |
|000020a0| 22 2d 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 67 |"-" & re|turn & g|
|000020b0| 6c 6f 62 61 6c 53 68 6f | 72 74 20 69 6e 74 6f 20 |lobalSho|rt into |
|000020c0| 6d 65 6e 75 20 67 6c 6f | 62 61 6c 53 68 6f 72 74 |menu glo|balShort|
|000020d0| 0d 73 65 74 20 6d 65 6e | 75 4d 65 73 73 61 67 65 |.set men|uMessage|
|000020e0| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 41 62 | of menu|Item "Ab|
|000020f0| 6f 75 74 20 22 20 26 20 | 67 6c 6f 62 61 6c 53 68 |out " & |globalSh|
|00002100| 6f 72 74 20 26 20 22 2e | 2e 2e 22 20 6f 66 20 6d |ort & ".|.." of m|
|00002110| 65 6e 75 20 67 6c 6f 62 | 61 6c 53 68 6f 72 74 20 |enu glob|alShort |
|00002120| 74 6f 20 22 70 75 74 20 | 73 68 6f 77 41 62 6f 75 |to "put |showAbou|
|00002130| 74 28 29 20 69 6e 74 6f | 20 6e 75 6c 6c 22 0d 73 |t() into| null".s|
|00002140| 65 74 20 6d 65 6e 75 4d | 65 73 73 61 67 65 20 6f |et menuM|essage o|
|00002150| 66 20 6d 65 6e 75 49 74 | 65 6d 20 67 6c 6f 62 61 |f menuIt|em globa|
|00002160| 6c 53 68 6f 72 74 20 20 | 20 20 20 20 20 20 20 20 |lShort | |
|00002170| 20 20 20 20 20 20 20 20 | 20 20 6f 66 20 6d 65 6e | | of men|
|00002180| 75 20 67 6c 6f 62 61 6c | 53 68 6f 72 74 20 74 6f |u global|Short to|
|00002190| 20 22 73 68 6f 77 20 77 | 69 6e 64 6f 77 22 20 26 | "show w|indow" &|
|000021a0| 20 71 75 6f 74 65 20 26 | 20 67 6c 6f 62 61 6c 53 | quote &| globalS|
|000021b0| 68 6f 72 74 20 26 20 71 | 75 6f 74 65 0d 70 6f 77 |hort & q|uote.pow|
|000021c0| 65 72 4d 65 6e 75 0d 70 | 75 74 20 73 68 6f 77 41 |erMenu.p|ut showA|
|000021d0| 62 6f 75 74 28 29 20 69 | 6e 74 6f 20 6e 75 6c 6c |bout() i|nto null|
|000021e0| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 67 6c 6f |.put "" |into glo|
|000021f0| 62 61 6c 4d 65 73 73 61 | 67 65 0d 65 6c 73 65 20 |balMessa|ge.else |
|00002200| 69 66 20 28 22 24 4c 69 | 73 74 24 22 20 20 20 20 |if ("$Li|st$" |
|00002210| 20 20 69 73 20 69 6e 20 | 22 24 22 20 26 20 28 77 | is in |"$" & (w|
|00002220| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 20 73 68 6f |ord 1 of| the sho|
|00002230| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00002240| 73 74 61 63 6b 29 20 26 | 20 22 24 22 29 20 74 68 |stack) &| "$") th|
|00002250| 65 6e 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 61 74 |en.set t|he locat|
|00002260| 69 6f 6e 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |ion of c|d window|
|00002270| 20 74 6f 20 31 32 38 2c | 36 34 0d 65 6c 73 65 20 | to 128,|64.else |
|00002280| 69 66 20 28 22 24 4d 61 | 69 6c 24 22 20 20 20 20 |if ("$Ma|il$" |
|00002290| 20 20 69 73 20 69 6e 20 | 22 24 22 20 26 20 28 77 | is in |"$" & (w|
|000022a0| 6f 72 64 20 31 20 6f 66 | 20 74 68 65 20 73 68 6f |ord 1 of| the sho|
|000022b0| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|000022c0| 73 74 61 63 6b 29 20 26 | 20 22 24 22 29 20 74 68 |stack) &| "$") th|
|000022d0| 65 6e 0d 73 65 74 20 74 | 68 65 20 6c 6f 63 61 74 |en.set t|he locat|
|000022e0| 69 6f 6e 20 6f 66 20 63 | 64 20 77 69 6e 64 6f 77 |ion of c|d window|
|000022f0| 20 74 6f 20 31 34 34 2c | 38 30 0d 68 69 64 65 20 | to 144,|80.hide |
|00002300| 62 67 20 66 6c 64 20 22 | 54 65 78 74 22 20 20 6f |bg fld "|Text" o|
|00002310| 66 20 66 69 72 73 74 20 | 63 64 20 6f 66 20 62 67 |f first |cd of bg|
|00002320| 20 22 33 22 0d 73 68 6f | 77 20 62 67 20 66 6c 64 | "3".sho|w bg fld|
|00002330| 20 22 54 79 70 65 22 20 | 20 6f 66 20 66 69 72 73 | "Type" | of firs|
|00002340| 74 20 63 64 20 6f 66 20 | 62 67 20 22 33 22 0d 73 |t cd of |bg "3".s|
|00002350| 68 6f 77 20 62 67 20 66 | 6c 64 20 22 56 61 6c 75 |how bg f|ld "Valu|
|00002360| 65 22 20 6f 66 20 66 69 | 72 73 74 20 63 64 20 6f |e" of fi|rst cd o|
|00002370| 66 20 62 67 20 22 33 22 | 0d 70 75 74 20 22 45 6e |f bg "3"|.put "En|
|00002380| 76 65 6c 6f 70 65 22 20 | 69 6e 74 6f 20 62 67 20 |velope" |into bg |
|00002390| 66 6c 64 20 22 46 6c 69 | 70 22 20 6f 66 20 66 69 |fld "Fli|p" of fi|
|000023a0| 72 73 74 20 63 64 20 6f | 66 20 62 67 20 22 33 22 |rst cd o|f bg "3"|
|000023b0| 0d 70 75 74 20 73 74 61 | 63 6b 46 6f 6c 64 65 72 |.put sta|ckFolder|
|000023c0| 28 29 20 26 20 22 3a 22 | 20 69 6e 74 6f 20 74 68 |() & ":"| into th|
|000023d0| 65 46 6f 6c 64 65 72 0d | 70 75 74 20 6c 69 73 74 |eFolder.|put list|
|000023e0| 46 69 6c 65 73 28 74 68 | 65 46 6f 6c 64 65 72 2c |Files(th|eFolder,|
|000023f0| 22 44 69 72 65 63 74 6f | 72 79 2c 4d 61 69 6c 22 |"Directo|ry,Mail"|
|00002400| 29 20 69 6e 74 6f 20 62 | 67 20 62 74 6e 20 22 2a |) into b|g btn "*|
|00002410| 20 44 69 72 65 63 74 6f | 72 79 22 20 6f 66 20 66 | Directo|ry" of f|
|00002420| 69 72 73 74 20 63 64 20 | 6f 66 20 62 67 20 22 33 |irst cd |of bg "3|
|00002430| 22 0d 65 6c 73 65 20 69 | 66 20 28 22 24 52 65 61 |".else i|f ("$Rea|
|00002440| 64 24 22 20 20 20 20 20 | 20 69 73 20 69 6e 20 22 |d$" | is in "|
|00002450| 24 22 20 26 20 28 77 6f | 72 64 20 31 20 6f 66 20 |$" & (wo|rd 1 of |
|00002460| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|00002470| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 26 20 |f this s|tack) & |
|00002480| 22 24 22 29 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |"$") the|n.set th|
|00002490| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 63 64 |e locati|on of cd|
|000024a0| 20 77 69 6e 64 6f 77 20 | 74 6f 20 32 30 38 2c 36 | window |to 208,6|
|000024b0| 34 0d 65 6c 73 65 20 69 | 66 20 28 22 24 53 75 6e |4.else i|f ("$Sun|
|000024c0| 61 74 6f 72 69 24 22 20 | 20 69 73 20 69 6e 20 22 |atori$" | is in "|
|000024d0| 24 22 20 26 20 28 77 6f | 72 64 20 31 20 6f 66 20 |$" & (wo|rd 1 of |
|000024e0| 74 68 65 20 73 68 6f 72 | 74 20 6e 61 6d 65 20 6f |the shor|t name o|
|000024f0| 66 20 74 68 69 73 20 73 | 74 61 63 6b 29 20 26 20 |f this s|tack) & |
|00002500| 22 24 22 29 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |"$") the|n.set th|
|00002510| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 63 64 |e locati|on of cd|
|00002520| 20 77 69 6e 64 6f 77 20 | 74 6f 20 32 37 32 2c 34 | window |to 272,4|
|00002530| 38 0d 70 61 6c 65 74 74 | 65 20 22 53 75 6e 61 74 |8.palett|e "Sunat|
|00002540| 6f 72 69 22 2c 22 2d 32 | 37 32 2c 32 37 32 22 0d |ori","-2|72,272".|
|00002550| 65 6e 64 20 69 66 0d 6c | 6f 63 6b 20 6d 65 73 73 |end if.l|ock mess|
|00002560| 61 67 65 73 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ages.loc|k screen|
|00002570| 0d 69 66 20 28 22 2a 22 | 20 69 73 20 69 6e 20 74 |.if ("*"| is in t|
|00002580| 68 65 20 73 68 6f 72 74 | 20 6e 61 6d 65 20 6f 66 |he short| name of|
|00002590| 20 74 68 69 73 20 73 74 | 61 63 6b 29 20 74 68 65 | this st|ack) the|
|000025a0| 6e 0d 68 69 64 65 20 63 | 64 20 66 6c 64 20 22 49 |n.hide c|d fld "I|
|000025b0| 6e 64 65 78 22 0d 65 6c | 73 65 0d 69 66 20 28 74 |ndex".el|se.if (t|
|000025c0| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 22 28 49 |here is |a cd "(I|
|000025d0| 6e 64 65 78 29 22 29 20 | 74 68 65 6e 0d 70 75 74 |ndex)") |then.put|
|000025e0| 20 22 41 73 63 65 6e 64 | 69 6e 67 22 20 69 6e 74 | "Ascend|ing" int|
|000025f0| 6f 20 62 67 20 66 6c 64 | 20 22 46 6c 69 70 22 20 |o bg fld| "Flip" |
|00002600| 6f 66 20 63 64 20 22 28 | 49 6e 64 65 78 29 22 0d |of cd "(|Index)".|
|00002610| 70 75 74 20 22 22 20 20 | 20 20 20 20 20 20 20 20 |put "" | |
|00002620| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 54 65 78 |into bg |fld "Tex|
|00002630| 74 22 20 6f 66 20 63 64 | 20 22 28 49 6e 64 65 78 |t" of cd| "(Index|
|00002640| 29 22 0d 65 6e 64 20 69 | 66 0d 69 66 20 28 74 68 |)".end i|f.if (th|
|00002650| 65 72 65 20 69 73 20 61 | 20 63 64 20 22 28 48 79 |ere is a| cd "(Hy|
|00002660| 70 65 72 49 6e 66 6f 20 | 49 6e 64 65 78 29 22 29 |perInfo |Index)")|
|00002670| 20 74 68 65 6e 0d 70 75 | 74 20 22 22 20 69 6e 74 | then.pu|t "" int|
|00002680| 6f 20 62 67 20 66 6c 64 | 20 22 54 65 78 74 22 20 |o bg fld| "Text" |
|00002690| 6f 66 20 63 64 20 22 28 | 48 79 70 65 72 49 6e 66 |of cd "(|HyperInf|
|000026a0| 6f 20 49 6e 64 65 78 29 | 22 0d 65 6e 64 20 69 66 |o Index)|".end if|
|000026b0| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|000026c0| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|000026d0| 20 6f 66 20 63 64 20 66 | 6c 64 73 0d 73 65 6c 65 | of cd f|lds.sele|
|000026e0| 63 74 20 6c 69 6e 65 20 | 30 20 6f 66 20 63 64 20 |ct line |0 of cd |
|000026f0| 66 6c 64 20 69 0d 65 6e | 64 20 72 65 70 65 61 74 |fld i.en|d repeat|
|00002700| 0d 65 6e 64 20 69 66 0d | 75 6e 6c 6f 63 6b 20 6d |.end if.|unlock m|
|00002710| 65 73 73 61 67 65 73 0d | 75 6e 6c 6f 63 6b 20 73 |essages.|unlock s|
|00002720| 63 72 65 65 6e 0d 65 6e | 64 20 69 66 0d 2d 2d 20 |creen.en|d if.-- |
|00002730| 70 61 73 73 20 6f 70 65 | 6e 53 74 61 63 6b 0d 65 |pass ope|nStack.e|
|00002740| 6e 64 20 6f 70 65 6e 53 | 74 61 63 6b 0d 0d 66 75 |nd openS|tack..fu|
|00002750| 6e 63 74 69 6f 6e 20 64 | 72 61 77 46 69 67 75 72 |nction d|rawFigur|
|00002760| 65 20 74 68 65 46 69 67 | 75 72 65 2c 74 68 65 4e |e theFig|ure,theN|
|00002770| 75 6d 62 65 72 2c 74 68 | 65 50 61 74 74 65 72 6e |umber,th|ePattern|
|00002780| 2c 63 6c 65 61 72 50 69 | 63 74 75 72 65 2c 66 69 |,clearPi|cture,fi|
|00002790| 6c 6c 55 70 0d 73 65 6e | 64 20 28 22 72 65 73 65 |llUp.sen|d ("rese|
|000027a0| 74 20 70 61 69 6e 74 22 | 29 20 74 6f 20 48 79 70 |t paint"|) to Hyp|
|000027b0| 65 72 43 61 72 64 0d 73 | 65 74 20 74 68 65 20 63 |erCard.s|et the c|
|000027c0| 65 6e 74 65 72 65 64 20 | 74 6f 20 66 61 6c 73 65 |entered |to false|
|000027d0| 0d 73 65 74 20 74 68 65 | 20 66 69 6c 6c 65 64 20 |.set the| filled |
|000027e0| 20 20 74 6f 20 66 61 6c | 73 65 0d 73 65 74 20 74 | to fal|se.set t|
|000027f0| 68 65 20 6c 69 6e 65 53 | 69 7a 65 20 74 6f 20 31 |he lineS|ize to 1|
|00002800| 0d 73 65 74 20 74 68 65 | 20 70 61 74 74 65 72 6e |.set the| pattern|
|00002810| 20 74 6f 20 74 68 65 50 | 61 74 74 65 72 6e 0d 69 | to theP|attern.i|
|00002820| 66 20 28 63 6c 65 61 72 | 50 69 63 74 75 72 65 20 |f (clear|Picture |
|00002830| 69 73 20 22 63 6c 65 61 | 72 50 69 63 74 75 72 65 |is "clea|rPicture|
|00002840| 22 29 20 74 68 65 6e 0d | 63 68 6f 6f 73 65 20 73 |") then.|choose s|
|00002850| 65 6c 65 63 74 20 74 6f | 6f 6c 0d 64 72 61 67 20 |elect to|ol.drag |
|00002860| 66 72 6f 6d 20 30 2c 30 | 20 74 6f 20 35 31 32 2c |from 0,0| to 512,|
|00002870| 35 31 32 0d 73 65 6e 64 | 20 28 22 64 6f 4d 65 6e |512.send| ("doMen|
|00002880| 75 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 43 |u " & qu|ote & "C|
|00002890| 6c 65 61 72 20 50 69 63 | 74 75 72 65 22 20 26 20 |lear Pic|ture" & |
|000028a0| 71 75 6f 74 65 20 26 20 | 22 2c 22 20 26 20 71 75 |quote & |"," & qu|
|000028b0| 6f 74 65 20 26 20 22 45 | 64 69 74 22 20 26 20 71 |ote & "E|dit" & q|
|000028c0| 75 6f 74 65 29 20 74 6f | 20 48 79 70 65 72 43 61 |uote) to| HyperCa|
|000028d0| 72 64 0d 65 6e 64 20 69 | 66 0d 69 66 20 20 20 20 |rd.end i|f.if |
|000028e0| 20 20 28 74 68 65 46 69 | 67 75 72 65 20 69 73 20 | (theFi|gure is |
|000028f0| 22 6f 76 61 6c 22 29 20 | 74 68 65 6e 0d 63 68 6f |"oval") |then.cho|
|00002900| 6f 73 65 20 6f 76 61 6c | 20 74 6f 6f 6c 0d 65 6c |ose oval| tool.el|
|00002910| 73 65 20 69 66 20 28 74 | 68 65 46 69 67 75 72 65 |se if (t|heFigure|
|00002920| 20 69 73 20 22 72 65 63 | 74 61 6e 67 6c 65 22 29 | is "rec|tangle")|
|00002930| 20 74 68 65 6e 0d 63 68 | 6f 6f 73 65 20 72 65 63 | then.ch|oose rec|
|00002940| 74 61 6e 67 6c 65 20 74 | 6f 6f 6c 0d 65 6e 64 20 |tangle t|ool.end |
|00002950| 69 66 0d 69 66 20 20 20 | 20 20 20 28 74 68 65 4e |if.if | (theN|
|00002960| 75 6d 62 65 72 20 69 73 | 20 22 31 22 29 20 74 68 |umber is| "1") th|
|00002970| 65 6e 0d 70 75 74 20 33 | 32 20 20 69 6e 74 6f 20 |en.put 3|2 into |
|00002980| 48 0d 70 75 74 20 33 32 | 20 20 69 6e 74 6f 20 56 |H.put 32| into V|
|00002990| 0d 64 72 61 67 20 66 72 | 6f 6d 20 48 2c 56 20 74 |.drag fr|om H,V t|
|000029a0| 6f 20 28 48 20 2b 20 34 | 34 38 29 2c 28 56 20 2b |o (H + 4|48),(V +|
|000029b0| 20 34 34 38 29 0d 65 6c | 73 65 20 69 66 20 28 74 | 448).el|se if (t|
|000029c0| 68 65 4e 75 6d 62 65 72 | 20 69 73 20 22 32 22 29 |heNumber| is "2")|
|000029d0| 20 74 68 65 6e 0d 70 75 | 74 20 33 32 20 20 69 6e | then.pu|t 32 in|
|000029e0| 74 6f 20 48 0d 70 75 74 | 20 31 36 30 20 69 6e 74 |to H.put| 160 int|
|000029f0| 6f 20 56 0d 64 72 61 67 | 20 66 72 6f 6d 20 48 2c |o V.drag| from H,|
|00002a00| 56 20 74 6f 20 28 48 20 | 2b 20 31 39 32 29 2c 28 |V to (H |+ 192),(|
|00002a10| 56 20 2b 20 31 39 32 29 | 0d 70 75 74 20 32 38 38 |V + 192)|.put 288|
|00002a20| 20 69 6e 74 6f 20 48 0d | 70 75 74 20 31 36 30 20 | into H.|put 160 |
|00002a30| 69 6e 74 6f 20 56 0d 64 | 72 61 67 20 66 72 6f 6d |into V.d|rag from|
|00002a40| 20 48 2c 56 20 74 6f 20 | 28 48 20 2b 20 31 39 32 | H,V to |(H + 192|
|00002a50| 29 2c 28 56 20 2b 20 31 | 39 32 29 0d 65 6e 64 20 |),(V + 1|92).end |
|00002a60| 69 66 0d 69 66 20 28 66 | 69 6c 6c 55 70 20 69 73 |if.if (f|illUp is|
|00002a70| 20 22 66 69 6c 6c 55 70 | 22 29 20 74 68 65 6e 0d | "fillUp|") then.|
|00002a80| 63 68 6f 6f 73 65 20 6c | 69 6e 65 20 74 6f 6f 6c |choose l|ine tool|
|00002a90| 0d 64 72 61 67 20 66 72 | 6f 6d 20 30 2c 31 36 20 |.drag fr|om 0,16 |
|00002aa0| 20 74 6f 20 35 31 32 2c | 31 36 0d 64 72 61 67 20 | to 512,|16.drag |
|00002ab0| 66 72 6f 6d 20 30 2c 34 | 39 36 20 74 6f 20 35 31 |from 0,4|96 to 51|
|00002ac0| 32 2c 34 39 36 0d 63 68 | 6f 6f 73 65 20 62 75 63 |2,496.ch|oose buc|
|00002ad0| 6b 65 74 20 74 6f 6f 6c | 0d 64 72 61 67 20 66 72 |ket tool|.drag fr|
|00002ae0| 6f 6d 20 32 35 36 2c 32 | 34 20 20 74 6f 20 32 35 |om 256,2|4 to 25|
|00002af0| 36 2c 32 34 0d 64 72 61 | 67 20 66 72 6f 6d 20 32 |6,24.dra|g from 2|
|00002b00| 35 36 2c 34 38 38 20 74 | 6f 20 32 35 36 2c 34 38 |56,488 t|o 256,48|
|00002b10| 38 0d 65 6e 64 20 69 66 | 0d 63 68 6f 6f 73 65 20 |8.end if|.choose |
|00002b20| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 65 6e 64 20 |browse t|ool.end |
|00002b30| 64 72 61 77 46 69 67 75 | 72 65 0d 0d 66 75 6e 63 |drawFigu|re..func|
|00002b40| 74 69 6f 6e 20 66 69 6e | 64 52 65 70 6c 61 63 65 |tion fin|dReplace|
|00002b50| 0d 67 6c 6f 62 61 6c 20 | 67 6c 6f 62 61 6c 46 69 |.global |globalFi|
|00002b60| 6e 64 2c 67 6c 6f 62 61 | 6c 52 65 70 6c 61 63 65 |nd,globa|lReplace|
|00002b70| 0d 61 73 6b 20 22 57 68 | 61 74 20 69 73 20 74 68 |.ask "Wh|at is th|
|00002b80| 65 20 73 74 72 69 6e 67 | 20 74 6f 20 46 69 6e 64 |e string| to Find|
|00002b90| 3f 22 20 77 69 74 68 20 | 67 6c 6f 62 61 6c 46 69 |?" with |globalFi|
|00002ba0| 6e 64 0d 69 66 20 28 28 | 74 68 65 20 72 65 73 75 |nd.if ((|the resu|
|00002bb0| 6c 74 20 69 73 20 6e 6f | 74 20 22 43 61 6e 63 65 |lt is no|t "Cance|
|00002bc0| 6c 22 29 20 61 6e 64 20 | 28 69 74 20 69 73 20 6e |l") and |(it is n|
|00002bd0| 6f 74 20 22 22 29 29 20 | 74 68 65 6e 0d 70 75 74 |ot "")) |then.put|
|00002be0| 20 69 74 20 69 6e 74 6f | 20 67 6c 6f 62 61 6c 46 | it into| globalF|
|00002bf0| 69 6e 64 0d 61 73 6b 20 | 22 57 68 61 74 20 69 73 |ind.ask |"What is|
|00002c00| 20 74 68 65 20 73 74 72 | 69 6e 67 20 74 6f 20 52 | the str|ing to R|
|00002c10| 65 70 6c 61 63 65 3f 20 | 28 4f 4b 20 74 6f 20 46 |eplace? |(OK to F|
|00002c20| 69 6e 64 29 22 20 2d 2d | 20 77 69 74 68 20 67 6c |ind)" --| with gl|
|00002c30| 6f 62 61 6c 52 65 70 6c | 61 63 65 0d 69 66 20 28 |obalRepl|ace.if (|
|00002c40| 74 68 65 20 72 65 73 75 | 6c 74 20 69 73 20 6e 6f |the resu|lt is no|
|00002c50| 74 20 22 43 61 6e 63 65 | 6c 22 29 20 74 68 65 6e |t "Cance|l") then|
|00002c60| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 67 6c 6f |.put it |into glo|
|00002c70| 62 61 6c 52 65 70 6c 61 | 63 65 0d 72 65 70 65 61 |balRepla|ce.repea|
|00002c80| 74 0d 6c 6f 63 6b 20 6d | 65 73 73 61 67 65 73 0d |t.lock m|essages.|
|00002c90| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 69 66 20 28 |lock scr|een.if (|
|00002ca0| 67 6c 6f 62 61 6c 52 65 | 70 6c 61 63 65 20 69 73 |globalRe|place is|
|00002cb0| 20 22 22 29 20 74 68 65 | 6e 0d 66 69 6e 64 20 73 | "") the|n.find s|
|00002cc0| 74 72 69 6e 67 20 67 6c | 6f 62 61 6c 46 69 6e 64 |tring gl|obalFind|
|00002cd0| 0d 65 6c 73 65 0d 66 69 | 6e 64 20 73 74 72 69 6e |.else.fi|nd strin|
|00002ce0| 67 20 69 6e 74 65 72 6e | 61 74 69 6f 6e 61 6c 20 |g intern|ational |
|00002cf0| 67 6c 6f 62 61 6c 46 69 | 6e 64 0d 65 6e 64 20 69 |globalFi|nd.end i|
|00002d00| 66 0d 69 66 20 28 74 68 | 65 20 72 65 73 75 6c 74 |f.if (th|e result|
|00002d10| 20 69 73 20 6e 6f 74 20 | 22 22 29 20 74 68 65 6e | is not |"") then|
|00002d20| 0d 62 65 65 70 20 31 0d | 61 6e 73 77 65 72 20 22 |.beep 1.|answer "|
|00002d30| 54 68 65 20 73 74 72 69 | 6e 67 20 22 20 26 20 71 |The stri|ng " & q|
|00002d40| 75 6f 74 65 20 26 20 67 | 6c 6f 62 61 6c 46 69 6e |uote & g|lobalFin|
|00002d50| 64 20 26 20 71 75 6f 74 | 65 20 26 20 22 20 69 73 |d & quot|e & " is|
|00002d60| 20 6e 6f 74 20 66 6f 75 | 6e 64 2e 22 0d 65 78 69 | not fou|nd.".exi|
|00002d70| 74 20 72 65 70 65 61 74 | 0d 65 6e 64 20 69 66 0d |t repeat|.end if.|
|00002d80| 75 6e 6c 6f 63 6b 20 6d | 65 73 73 61 67 65 73 0d |unlock m|essages.|
|00002d90| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 61 6e |unlock s|creen.an|
|00002da0| 73 77 65 72 20 22 52 65 | 70 6c 61 63 65 20 61 6e |swer "Re|place an|
|00002db0| 64 2f 6f 72 20 46 69 6e | 64 20 74 68 65 20 6e 65 |d/or Fin|d the ne|
|00002dc0| 78 74 20 6f 63 63 75 72 | 72 65 6e 63 65 3f 22 20 |xt occur|rence?" |
|00002dd0| 77 69 74 68 20 22 43 61 | 6e 63 65 6c 22 20 6f 72 |with "Ca|ncel" or|
|00002de0| 20 22 4f 4b 22 0d 69 66 | 20 28 69 74 20 69 73 20 | "OK".if| (it is |
|00002df0| 22 43 61 6e 63 65 6c 22 | 29 20 74 68 65 6e 20 65 |"Cancel"|) then e|
|00002e00| 78 69 74 20 72 65 70 65 | 61 74 0d 69 66 20 28 67 |xit repe|at.if (g|
|00002e10| 6c 6f 62 61 6c 52 65 70 | 6c 61 63 65 20 69 73 20 |lobalRep|lace is |
|00002e20| 6e 6f 74 20 22 22 29 20 | 74 68 65 6e 0d 70 75 74 |not "") |then.put|
|00002e30| 20 67 6c 6f 62 61 6c 52 | 65 70 6c 61 63 65 20 69 | globalR|eplace i|
|00002e40| 6e 74 6f 20 74 68 65 20 | 66 6f 75 6e 64 43 68 75 |nto the |foundChu|
|00002e50| 6e 6b 0d 73 65 6c 65 63 | 74 20 74 68 65 20 66 6f |nk.selec|t the fo|
|00002e60| 75 6e 64 43 68 75 6e 6b | 0d 65 6e 64 20 69 66 0d |undChunk|.end if.|
|00002e70| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|00002e80| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 66 69 6e |f.end if|.end fin|
|00002e90| 64 52 65 70 6c 61 63 65 | 0d 0d 66 75 6e 63 74 69 |dReplace|..functi|
|00002ea0| 6f 6e 20 66 6c 69 70 54 | 68 65 6d 20 74 68 65 46 |on flipT|hem theF|
|00002eb0| 6c 69 70 0d 69 66 20 20 | 20 20 20 20 28 74 68 65 |lip.if | (the|
|00002ec0| 46 6c 69 70 20 69 73 20 | 22 53 69 6e 67 6c 65 22 |Flip is |"Single"|
|00002ed0| 29 20 74 68 65 6e 0d 73 | 68 6f 77 20 62 67 20 66 |) then.s|how bg f|
|00002ee0| 6c 64 20 22 45 6e 67 6c | 69 73 68 22 0d 73 68 6f |ld "Engl|ish".sho|
|00002ef0| 77 20 62 67 20 66 6c 64 | 20 22 46 72 65 6e 63 68 |w bg fld| "French|
|00002f00| 22 0d 68 69 64 65 20 62 | 67 20 66 6c 64 20 22 54 |".hide b|g fld "T|
|00002f10| 65 78 74 22 0d 70 75 74 | 20 22 44 6f 75 62 6c 65 |ext".put| "Double|
|00002f20| 22 20 69 6e 74 6f 20 62 | 67 20 66 6c 64 20 22 46 |" into b|g fld "F|
|00002f30| 6c 69 70 22 0d 65 6c 73 | 65 20 69 66 20 28 74 68 |lip".els|e if (th|
|00002f40| 65 46 6c 69 70 20 69 73 | 20 22 44 6f 75 62 6c 65 |eFlip is| "Double|
|00002f50| 22 29 20 74 68 65 6e 0d | 68 69 64 65 20 62 67 20 |") then.|hide bg |
|00002f60| 66 6c 64 20 22 45 6e 67 | 6c 69 73 68 22 0d 68 69 |fld "Eng|lish".hi|
|00002f70| 64 65 20 62 67 20 66 6c | 64 20 22 46 72 65 6e 63 |de bg fl|d "Frenc|
|00002f80| 68 22 0d 73 68 6f 77 20 | 62 67 20 66 6c 64 20 22 |h".show |bg fld "|
|00002f90| 54 65 78 74 22 0d 70 75 | 74 20 22 53 69 6e 67 6c |Text".pu|t "Singl|
|00002fa0| 65 22 20 69 6e 74 6f 20 | 62 67 20 66 6c 64 20 22 |e" into |bg fld "|
|00002fb0| 46 6c 69 70 22 0d 65 6c | 73 65 20 69 66 20 28 74 |Flip".el|se if (t|
|00002fc0| 68 65 46 6c 69 70 20 69 | 73 20 22 45 6e 76 65 6c |heFlip i|s "Envel|
|00002fd0| 6f 70 65 22 29 20 74 68 | 65 6e 0d 73 68 6f 77 20 |ope") th|en.show |
|00002fe0| 62 67 20 66 6c 64 20 22 | 54 65 78 74 22 0d 68 69 |bg fld "|Text".hi|
|00002ff0| 64 65 20 62 67 20 66 6c | 64 20 22 54 79 70 65 22 |de bg fl|d "Type"|
|00003000| 0d 68 69 64 65 20 62 67 | 20 66 6c 64 20 22 56 61 |.hide bg| fld "Va|
|00003010| 6c 75 65 22 0d 70 75 74 | 20 22 43 6f 6e 74 65 6e |lue".put| "Conten|
|00003020| 74 22 20 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 |t" into| bg fld |
|00003030| 22 46 6c 69 70 22 0d 65 | 6c 73 65 20 69 66 20 28 |"Flip".e|lse if (|
|00003040| 74 68 65 46 6c 69 70 20 | 69 73 20 22 43 6f 6e 74 |theFlip |is "Cont|
|00003050| 65 6e 74 22 29 20 74 68 | 65 6e 0d 68 69 64 65 20 |ent") th|en.hide |
|00003060| 62 67 20 66 6c 64 20 22 | 54 65 78 74 22 0d 73 68 |bg fld "|Text".sh|
|00003070| 6f 77 20 62 67 20 66 6c | 64 20 22 54 79 70 65 22 |ow bg fl|d "Type"|
|00003080| 0d 73 68 6f 77 20 62 67 | 20 66 6c 64 20 22 56 61 |.show bg| fld "Va|
|00003090| 6c 75 65 22 0d 70 75 74 | 20 22 45 6e 76 65 6c 6f |lue".put| "Envelo|
|000030a0| 70 65 22 20 69 6e 74 6f | 20 62 67 20 66 6c 64 20 |pe" into| bg fld |
|000030b0| 22 46 6c 69 70 22 0d 65 | 6c 73 65 20 69 66 20 28 |"Flip".e|lse if (|
|000030c0| 28 74 68 65 46 6c 69 70 | 20 69 73 20 22 41 73 63 |(theFlip| is "Asc|
|000030d0| 65 6e 64 69 6e 67 22 29 | 20 6f 72 20 28 74 68 65 |ending")| or (the|
|000030e0| 46 6c 69 70 20 69 73 20 | 22 44 65 73 63 65 6e 64 |Flip is |"Descend|
|000030f0| 69 6e 67 22 29 29 20 74 | 68 65 6e 0d 72 65 70 65 |ing")) t|hen.repe|
|00003100| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00003110| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 63 | the num|ber of c|
|00003120| 64 20 66 6c 64 73 0d 70 | 75 74 20 77 6f 72 64 20 |d flds.p|ut word |
|00003130| 32 20 6f 66 20 74 68 65 | 20 73 65 6c 65 63 74 65 |2 of the| selecte|
|00003140| 64 4c 69 6e 65 20 6f 66 | 20 63 64 20 66 6c 64 20 |dLine of| cd fld |
|00003150| 69 20 69 6e 74 6f 20 74 | 68 65 53 65 6c 65 63 74 |i into t|heSelect|
|00003160| 65 64 0d 69 66 20 20 20 | 20 20 20 28 74 68 65 46 |ed.if | (theF|
|00003170| 6c 69 70 20 69 73 20 22 | 41 73 63 65 6e 64 69 6e |lip is "|Ascendin|
|00003180| 67 22 29 20 74 68 65 6e | 0d 70 75 74 20 22 44 65 |g") then|.put "De|
|00003190| 73 63 65 6e 64 69 6e 67 | 22 20 69 6e 74 6f 20 62 |scending|" into b|
|000031a0| 67 20 66 6c 64 20 22 46 | 6c 69 70 22 0d 65 6c 73 |g fld "F|lip".els|
|000031b0| 65 20 69 66 20 28 74 68 | 65 46 6c 69 70 20 69 73 |e if (th|eFlip is|
|000031c0| 20 22 44 65 73 63 65 6e | 64 69 6e 67 22 29 20 74 | "Descen|ding") t|
|000031d0| 68 65 6e 0d 70 75 74 20 | 22 41 73 63 65 6e 64 69 |hen.put |"Ascendi|
|000031e0| 6e 67 22 20 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |ng" int|o bg fld|
|000031f0| 20 22 46 6c 69 70 22 0d | 65 6e 64 20 69 66 0d 73 | "Flip".|end if.s|
|00003200| 65 6e 64 20 28 22 73 6f | 72 74 20 6c 69 6e 65 73 |end ("so|rt lines|
|00003210| 20 6f 66 20 63 64 20 66 | 6c 64 20 69 20 22 20 26 | of cd f|ld i " &|
|00003220| 20 62 67 20 66 6c 64 20 | 22 46 6c 69 70 22 20 26 | bg fld |"Flip" &|
|00003230| 20 22 20 69 6e 74 65 72 | 6e 61 74 69 6f 6e 61 6c | " inter|national|
|00003240| 22 29 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |") to Hy|perCard.|
|00003250| 73 65 6c 65 63 74 20 6c | 69 6e 65 20 28 74 68 65 |select l|ine (the|
|00003260| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00003270| 20 6f 66 20 63 64 20 66 | 6c 64 20 69 20 2d 20 74 | of cd f|ld i - t|
|00003280| 68 65 53 65 6c 65 63 74 | 65 64 20 2b 20 31 29 20 |heSelect|ed + 1) |
|00003290| 6f 66 20 63 64 20 66 6c | 64 20 69 0d 65 6e 64 20 |of cd fl|d i.end |
|000032a0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6e |repeat.e|nd if.en|
|000032b0| 64 20 66 6c 69 70 54 68 | 65 6d 0d 0d 66 75 6e 63 |d flipTh|em..func|
|000032c0| 74 69 6f 6e 20 67 65 74 | 41 74 74 72 69 62 75 74 |tion get|Attribut|
|000032d0| 65 20 74 68 65 54 79 70 | 65 0d 70 75 74 20 22 22 |e theTyp|e.put ""|
|000032e0| 20 69 6e 74 6f 20 74 68 | 65 56 61 6c 75 65 0d 70 | into th|eValue.p|
|000032f0| 75 74 20 67 65 74 56 61 | 6c 75 65 28 67 65 74 54 |ut getVa|lue(getT|
|00003300| 79 70 65 28 74 68 65 54 | 79 70 65 29 29 20 69 6e |ype(theT|ype)) in|
|00003310| 74 6f 20 74 68 65 56 61 | 6c 75 65 0d 72 65 74 75 |to theVa|lue.retu|
|00003320| 72 6e 20 74 68 65 56 61 | 6c 75 65 0d 65 6e 64 20 |rn theVa|lue.end |
|00003330| 67 65 74 41 74 74 72 69 | 62 75 74 65 0d 0d 66 75 |getAttri|bute..fu|
|00003340| 6e 63 74 69 6f 6e 20 67 | 65 74 54 61 72 67 65 74 |nction g|etTarget|
|00003350| 20 74 68 65 54 61 72 67 | 65 74 0d 70 75 74 20 74 | theTarg|et.put t|
|00003360| 68 65 20 74 61 72 67 65 | 74 20 69 6e 74 6f 20 20 |he targe|t into |
|00003370| 20 74 68 65 54 61 72 67 | 65 74 0d 64 65 6c 65 74 | theTarg|et.delet|
|00003380| 65 20 77 6f 72 64 20 31 | 20 74 6f 20 32 20 6f 66 |e word 1| to 2 of|
|00003390| 20 74 68 65 54 61 72 67 | 65 74 0d 64 65 6c 65 74 | theTarg|et.delet|
|000033a0| 65 20 66 69 72 73 74 20 | 63 68 61 72 20 20 6f 66 |e first |char of|
|000033b0| 20 74 68 65 54 61 72 67 | 65 74 0d 64 65 6c 65 74 | theTarg|et.delet|
|000033c0| 65 20 6c 61 73 74 20 20 | 63 68 61 72 20 20 6f 66 |e last |char of|
|000033d0| 20 74 68 65 54 61 72 67 | 65 74 0d 72 65 74 75 72 | theTarg|et.retur|
|000033e0| 6e 20 74 68 65 54 61 72 | 67 65 74 0d 65 6e 64 20 |n theTar|get.end |
|000033f0| 67 65 74 54 61 72 67 65 | 74 0d 0d 66 75 6e 63 74 |getTarge|t..funct|
|00003400| 69 6f 6e 20 67 65 74 54 | 79 70 65 20 74 68 65 54 |ion getT|ype theT|
|00003410| 79 70 65 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 74 |ype.put |0 into t|
|00003420| 68 65 4c 69 6e 65 0d 70 | 75 74 20 62 67 20 66 6c |heLine.p|ut bg fl|
|00003430| 64 20 22 54 79 70 65 22 | 20 69 6e 74 6f 20 62 67 |d "Type"| into bg|
|00003440| 20 66 6c 64 20 22 54 79 | 70 65 2f 56 61 6c 75 65 | fld "Ty|pe/Value|
|00003450| 22 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |".repeat| with i |
|00003460| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00003470| 72 20 6f 66 20 6c 69 6e | 65 73 20 6f 66 20 62 67 |r of lin|es of bg|
|00003480| 20 66 6c 64 20 22 54 79 | 70 65 2f 56 61 6c 75 65 | fld "Ty|pe/Value|
|00003490| 22 0d 69 66 20 28 22 24 | a5 20 22 20 26 20 74 68 |".if ("$|. " & th|
|000034a0| 65 54 79 70 65 20 26 20 | 22 24 22 20 69 73 20 69 |eType & |"$" is i|
|000034b0| 6e 20 22 24 22 20 26 20 | 28 6c 69 6e 65 20 69 20 |n "$" & |(line i |
|000034c0| 6f 66 20 62 67 20 66 6c | 64 20 22 54 79 70 65 2f |of bg fl|d "Type/|
|000034d0| 56 61 6c 75 65 22 29 20 | 26 20 22 24 22 29 20 74 |Value") |& "$") t|
|000034e0| 68 65 6e 0d 70 75 74 20 | 69 20 69 6e 74 6f 20 74 |hen.put |i into t|
|000034f0| 68 65 4c 69 6e 65 0d 65 | 78 69 74 20 72 65 70 65 |heLine.e|xit repe|
|00003500| 61 74 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |at.end i|f.end re|
|00003510| 70 65 61 74 0d 72 65 74 | 75 72 6e 20 74 68 65 4c |peat.ret|urn theL|
|00003520| 69 6e 65 0d 65 6e 64 20 | 67 65 74 54 79 70 65 0d |ine.end |getType.|
|00003530| 0d 66 75 6e 63 74 69 6f | 6e 20 67 65 74 56 61 6c |.functio|n getVal|
|00003540| 75 65 20 74 68 65 4c 69 | 6e 65 0d 70 75 74 20 22 |ue theLi|ne.put "|
|00003550| 22 20 69 6e 74 6f 20 74 | 68 65 56 61 6c 75 65 0d |" into t|heValue.|
|00003560| 70 75 74 20 6c 69 6e 65 | 20 74 68 65 4c 69 6e 65 |put line| theLine|
|00003570| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 56 61 6c 75 | of bg f|ld "Valu|
|00003580| 65 22 20 69 6e 74 6f 20 | 74 68 65 56 61 6c 75 65 |e" into |theValue|
|00003590| 0d 72 65 74 75 72 6e 20 | 74 68 65 56 61 6c 75 65 |.return |theValue|
|000035a0| 0d 65 6e 64 20 67 65 74 | 56 61 6c 75 65 0d 0d 66 |.end get|Value..f|
|000035b0| 75 6e 63 74 69 6f 6e 20 | 67 6f 49 74 20 74 68 65 |unction |goIt the|
|000035c0| 43 64 0d 69 66 20 20 20 | 20 20 20 28 74 68 65 72 |Cd.if | (ther|
|000035d0| 65 20 69 73 20 61 20 63 | 64 20 74 68 65 43 64 29 |e is a c|d theCd)|
|000035e0| 20 74 68 65 6e 0d 67 6f | 20 63 64 20 74 68 65 43 | then.go| cd theC|
|000035f0| 64 0d 65 6c 73 65 20 69 | 66 20 28 6c 61 73 74 20 |d.else i|f (last |
|00003600| 77 6f 72 64 20 6f 66 20 | 74 68 65 43 64 20 69 73 |word of |theCd is|
|00003610| 20 61 20 6e 75 6d 62 65 | 72 29 20 74 68 65 6e 0d | a numbe|r) then.|
|00003620| 67 6f 20 63 64 20 69 64 | 20 28 6c 61 73 74 20 77 |go cd id| (last w|
|00003630| 6f 72 64 20 6f 66 20 74 | 68 65 43 64 29 0d 65 6c |ord of t|heCd).el|
|00003640| 73 65 0d 61 6e 73 77 65 | 72 20 22 54 68 65 20 64 |se.answe|r "The d|
|00003650| 65 73 74 69 6e 61 74 69 | 6f 6e 20 69 73 20 65 6d |estinati|on is em|
|00003660| 70 74 79 2e 22 0d 65 6e | 64 20 69 66 0d 65 6e 64 |pty.".en|d if.end|
|00003670| 20 67 6f 49 74 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 | goIt..f|unction |
|00003680| 68 79 70 65 72 49 6e 66 | 6f 0d 69 66 20 28 20 c2 |hyperInf|o.if ( .|
|00003690| 0d 28 22 24 43 61 6c 65 | 6e 64 61 72 24 22 20 20 |.("$Cale|ndar$" |
|000036a0| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|000036b0| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|000036c0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|000036d0| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|000036e0| 0d 28 22 24 44 69 72 65 | 63 74 6f 72 79 24 22 20 |.("$Dire|ctory$" |
|000036f0| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|00003700| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|00003710| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00003720| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|00003730| 0d 28 22 24 48 79 70 65 | 72 49 6e 66 6f 24 22 20 |.("$Hype|rInfo$" |
|00003740| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|00003750| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|00003760| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00003770| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|00003780| 0d 28 22 24 4c 69 73 74 | 24 22 20 20 20 20 20 20 |.("$List|$" |
|00003790| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|000037a0| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|000037b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|000037c0| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|000037d0| 0d 28 22 24 4d 61 69 6c | 24 22 20 20 20 20 20 20 |.("$Mail|$" |
|000037e0| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|000037f0| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|00003800| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00003810| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|00003820| 0d 28 22 24 52 65 61 64 | 24 22 20 20 20 20 20 20 |.("$Read|$" |
|00003830| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|00003840| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|00003850| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|00003860| 61 63 6b 29 20 26 20 22 | 24 22 29 20 6f 72 20 c2 |ack) & "|$") or .|
|00003870| 0d 28 22 24 53 75 6e 61 | 74 6f 72 69 24 22 20 20 |.("$Suna|tori$" |
|00003880| 69 73 20 69 6e 20 22 24 | 22 20 26 20 28 77 6f 72 |is in "$|" & (wor|
|00003890| 64 20 31 20 6f 66 20 74 | 68 65 20 73 68 6f 72 74 |d 1 of t|he short|
|000038a0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 69 73 20 73 74 | name of| this st|
|000038b0| 61 63 6b 29 20 26 20 22 | 24 22 29 29 20 74 68 65 |ack) & "|$")) the|
|000038c0| 6e 0d 70 75 74 20 22 74 | 72 75 65 22 20 20 69 6e |n.put "t|rue" in|
|000038d0| 74 6f 20 74 68 65 52 65 | 74 75 72 6e 0d 65 6c 73 |to theRe|turn.els|
|000038e0| 65 0d 70 75 74 20 22 66 | 61 6c 73 65 22 20 69 6e |e.put "f|alse" in|
|000038f0| 74 6f 20 74 68 65 52 65 | 74 75 72 6e 0d 65 6e 64 |to theRe|turn.end|
|00003900| 20 69 66 0d 72 65 74 75 | 72 6e 20 74 68 65 52 65 | if.retu|rn theRe|
|00003910| 74 75 72 6e 0d 65 6e 64 | 20 68 79 70 65 72 49 6e |turn.end| hyperIn|
|00003920| 66 6f 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 69 6e 64 |fo..func|tion ind|
|00003930| 65 78 46 69 6c 74 65 72 | 20 74 68 65 4f 70 74 69 |exFilter| theOpti|
|00003940| 6f 6e 0d 67 6c 6f 62 61 | 6c 20 67 6c 6f 62 61 6c |on.globa|l global|
|00003950| 46 69 6c 74 65 72 0d 6c | 6f 63 6b 20 6d 65 73 73 |Filter.l|ock mess|
|00003960| 61 67 65 73 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |ages.loc|k screen|
|00003970| 0d 61 73 6b 20 22 57 68 | 61 74 20 69 73 20 74 68 |.ask "Wh|at is th|
|00003980| 65 20 46 69 6c 74 65 72 | 20 53 74 72 69 6e 67 3f |e Filter| String?|
|00003990| 22 20 77 69 74 68 20 67 | 6c 6f 62 61 6c 46 69 6c |" with g|lobalFil|
|000039a0| 74 65 72 0d 69 66 20 28 | 28 74 68 65 20 72 65 73 |ter.if (|(the res|
|000039b0| 75 6c 74 20 69 73 20 6e | 6f 74 20 22 43 61 6e 63 |ult is n|ot "Canc|
|000039c0| 65 6c 22 29 20 61 6e 64 | 20 28 69 74 20 69 73 20 |el") and| (it is |
|000039d0| 6e 6f 74 20 22 22 29 29 | 20 74 68 65 6e 0d 70 75 |not ""))| then.pu|
|000039e0| 74 20 69 74 20 69 6e 74 | 6f 20 67 6c 6f 62 61 6c |t it int|o global|
|000039f0| 46 69 6c 74 65 72 0d 72 | 65 70 65 61 74 20 77 69 |Filter.r|epeat wi|
|00003a00| 74 68 20 69 20 3d 20 31 | 20 74 6f 20 74 68 65 20 |th i = 1| to the |
|00003a10| 6e 75 6d 62 65 72 20 6f | 66 20 63 64 20 66 6c 64 |number o|f cd fld|
|00003a20| 73 0d 69 66 20 28 74 68 | 65 72 65 20 69 73 20 61 |s.if (th|ere is a|
|00003a30| 20 63 64 20 66 6c 64 20 | 69 29 20 74 68 65 6e 0d | cd fld |i) then.|
|00003a40| 69 66 20 20 20 20 20 20 | 28 74 68 65 4f 70 74 69 |if |(theOpti|
|00003a50| 6f 6e 20 69 73 20 22 69 | 6e 22 29 20 20 74 68 65 |on is "i|n") the|
|00003a60| 6e 0d 70 75 74 20 22 2a | 22 20 69 6e 74 6f 20 66 |n.put "*|" into f|
|00003a70| 69 6c 74 65 72 46 6c 64 | 0d 72 65 70 65 61 74 20 |ilterFld|.repeat |
|00003a80| 77 69 74 68 20 6a 20 3d | 20 31 20 74 6f 20 74 68 |with j =| 1 to th|
|00003a90| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00003aa0| 73 20 69 6e 20 63 64 20 | 66 6c 64 20 69 0d 69 66 |s in cd |fld i.if|
|00003ab0| 20 28 67 6c 6f 62 61 6c | 46 69 6c 74 65 72 20 69 | (global|Filter i|
|00003ac0| 73 20 20 20 20 20 69 6e | 20 6c 69 6e 65 20 6a 20 |s in| line j |
|00003ad0| 6f 66 20 63 64 20 66 6c | 64 20 69 29 20 74 68 65 |of cd fl|d i) the|
|00003ae0| 6e 20 70 75 74 20 66 69 | 6c 74 65 72 46 6c 64 20 |n put fi|lterFld |
|00003af0| 26 20 72 65 74 75 72 6e | 20 26 20 6c 69 6e 65 20 |& return| & line |
|00003b00| 6a 20 6f 66 20 63 64 20 | 66 6c 64 20 69 20 69 6e |j of cd |fld i in|
|00003b10| 74 6f 20 66 69 6c 74 65 | 72 46 6c 64 0d 65 6e 64 |to filte|rFld.end|
|00003b20| 20 72 65 70 65 61 74 0d | 70 75 74 20 66 69 6c 74 | repeat.|put filt|
|00003b30| 65 72 46 6c 64 20 26 20 | 72 65 74 75 72 6e 20 26 |erFld & |return &|
|00003b40| 20 22 a5 22 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 | "." int|o cd fld|
|00003b50| 20 69 0d 65 6c 73 65 20 | 69 66 20 28 74 68 65 4f | i.else |if (theO|
|00003b60| 70 74 69 6f 6e 20 69 73 | 20 22 6f 75 74 22 29 20 |ption is| "out") |
|00003b70| 74 68 65 6e 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |then.put| "" into|
|00003b80| 20 66 69 6c 74 65 72 46 | 6c 64 0d 72 65 70 65 61 | filterF|ld.repea|
|00003b90| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00003ba0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00003bb0| 6e 65 73 20 69 6e 20 63 | 64 20 66 6c 64 20 69 0d |nes in c|d fld i.|
|00003bc0| 69 66 20 28 67 6c 6f 62 | 61 6c 46 69 6c 74 65 72 |if (glob|alFilter|
|00003bd0| 20 69 73 20 6e 6f 74 20 | 69 6e 20 6c 69 6e 65 20 | is not |in line |
|00003be0| 6a 20 6f 66 20 63 64 20 | 66 6c 64 20 69 29 20 74 |j of cd |fld i) t|
|00003bf0| 68 65 6e 20 70 75 74 20 | 66 69 6c 74 65 72 46 6c |hen put |filterFl|
|00003c00| 64 20 26 20 72 65 74 75 | 72 6e 20 26 20 6c 69 6e |d & retu|rn & lin|
|00003c10| 65 20 6a 20 6f 66 20 63 | 64 20 66 6c 64 20 69 20 |e j of c|d fld i |
|00003c20| 69 6e 74 6f 20 66 69 6c | 74 65 72 46 6c 64 0d 65 |into fil|terFld.e|
|00003c30| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 28 63 68 |nd repea|t.if (ch|
|00003c40| 61 72 20 31 20 6f 66 20 | 66 69 6c 74 65 72 46 6c |ar 1 of |filterFl|
|00003c50| 64 20 69 73 20 72 65 74 | 75 72 6e 29 20 74 68 65 |d is ret|urn) the|
|00003c60| 6e 20 64 65 6c 65 74 65 | 20 63 68 61 72 20 31 20 |n delete| char 1 |
|00003c70| 6f 66 20 66 69 6c 74 65 | 72 46 6c 64 0d 70 75 74 |of filte|rFld.put|
|00003c80| 20 66 69 6c 74 65 72 46 | 6c 64 20 69 6e 74 6f 20 | filterF|ld into |
|00003c90| 63 64 20 66 6c 64 20 69 | 0d 65 6e 64 20 69 66 0d |cd fld i|.end if.|
|00003ca0| 65 6e 64 20 69 66 0d 73 | 65 6c 65 63 74 20 6c 69 |end if.s|elect li|
|00003cb0| 6e 65 20 30 20 6f 66 20 | 63 64 20 66 6c 64 20 69 |ne 0 of |cd fld i|
|00003cc0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00003cd0| 69 66 0d 75 6e 6c 6f 63 | 6b 20 6d 65 73 73 61 67 |if.unloc|k messag|
|00003ce0| 65 73 0d 75 6e 6c 6f 63 | 6b 20 73 63 72 65 65 6e |es.unloc|k screen|
|00003cf0| 0d 65 6e 64 20 69 6e 64 | 65 78 46 69 6c 74 65 72 |.end ind|exFilter|
|00003d00| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6c 69 73 74 46 |..functi|on listF|
|00003d10| 69 6c 65 73 20 74 68 65 | 46 6f 6c 64 65 72 2c 74 |iles the|Folder,t|
|00003d20| 68 65 4f 70 74 69 6f 6e | 0d 70 75 74 20 22 22 20 |heOption|.put "" |
|00003d30| 69 6e 74 6f 20 74 68 65 | 46 69 6c 65 73 0d 69 66 |into the|Files.if|
|00003d40| 20 28 74 68 65 72 65 20 | 69 73 20 61 20 66 6f 6c | (there |is a fol|
|00003d50| 64 65 72 20 74 68 65 46 | 6f 6c 64 65 72 29 20 74 |der theF|older) t|
|00003d60| 68 65 6e 0d 70 75 74 20 | 22 6c 69 73 74 20 66 6f |hen.put |"list fo|
|00003d70| 6c 64 65 72 20 61 6c 69 | 61 73 20 22 20 26 20 71 |lder ali|as " & q|
|00003d80| 75 6f 74 65 20 26 20 74 | 68 65 46 6f 6c 64 65 72 |uote & t|heFolder|
|00003d90| 20 26 20 71 75 6f 74 65 | 20 26 20 72 65 74 75 72 | & quote| & retur|
|00003da0| 6e 20 26 20 c2 0d 22 73 | 65 74 20 74 68 65 4c 69 |n & .."s|et theLi|
|00003db0| 73 74 20 74 6f 20 74 68 | 65 20 72 65 73 75 6c 74 |st to th|e result|
|00003dc0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00003dd0| 73 65 74 20 74 68 65 49 | 74 65 6d 73 20 74 6f 20 |set theI|tems to |
|00003de0| 22 20 26 20 71 75 6f 74 | 65 20 26 20 71 75 6f 74 |" & quot|e & quot|
|00003df0| 65 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |e & retu|rn & .."|
|00003e00| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 66 72 |repeat w|ith i fr|
|00003e10| 6f 6d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 |om 1 to |the numb|
|00003e20| 65 72 20 6f 66 20 69 74 | 65 6d 73 20 6f 66 20 74 |er of it|ems of t|
|00003e30| 68 65 4c 69 73 74 22 20 | 26 20 72 65 74 75 72 6e |heList" |& return|
|00003e40| 20 26 20 c2 0d 22 73 65 | 74 20 74 68 65 49 74 65 | & .."se|t theIte|
|00003e50| 6d 73 20 74 6f 20 74 68 | 65 49 74 65 6d 73 20 26 |ms to th|eItems &|
|00003e60| 20 72 65 74 75 72 6e 20 | 26 20 28 69 74 65 6d 20 | return |& (item |
|00003e70| 69 20 6f 66 20 74 68 65 | 4c 69 73 74 29 22 20 26 |i of the|List)" &|
|00003e80| 20 72 65 74 75 72 6e 20 | 26 20 c2 0d 22 65 6e 64 | return |& .."end|
|00003e90| 20 72 65 70 65 61 74 22 | 20 26 20 72 65 74 75 72 | repeat"| & retur|
|00003ea0| 6e 20 69 6e 74 6f 20 6c | 69 73 74 49 74 0d 64 6f |n into l|istIt.do|
|00003eb0| 20 6c 69 73 74 49 74 20 | 61 73 20 41 70 70 6c 65 | listIt |as Apple|
|00003ec0| 53 63 72 69 70 74 0d 69 | 66 20 28 74 68 65 20 72 |Script.i|f (the r|
|00003ed0| 65 73 75 6c 74 20 69 73 | 20 6e 6f 74 20 22 22 29 |esult is| not "")|
|00003ee0| 20 74 68 65 6e 0d 70 75 | 74 20 74 68 65 20 72 65 | then.pu|t the re|
|00003ef0| 73 75 6c 74 20 69 6e 74 | 6f 20 74 68 65 4c 69 73 |sult int|o theLis|
|00003f00| 74 0d 69 66 20 28 63 68 | 61 72 20 31 20 6f 66 20 |t.if (ch|ar 1 of |
|00003f10| 74 68 65 4c 69 73 74 20 | 69 73 20 72 65 74 75 72 |theList |is retur|
|00003f20| 6e 29 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 63 |n) then |delete c|
|00003f30| 68 61 72 20 31 20 6f 66 | 20 74 68 65 4c 69 73 74 |har 1 of| theList|
|00003f40| 0d 69 66 20 28 74 68 65 | 4f 70 74 69 6f 6e 20 69 |.if (the|Option i|
|00003f50| 73 20 22 22 29 20 74 68 | 65 6e 0d 70 75 74 20 74 |s "") th|en.put t|
|00003f60| 68 65 4c 69 73 74 20 69 | 6e 74 6f 20 74 68 65 46 |heList i|nto theF|
|00003f70| 69 6c 65 73 0d 65 6c 73 | 65 0d 72 65 70 65 61 74 |iles.els|e.repeat|
|00003f80| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00003f90| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00003fa0| 65 73 20 6f 66 20 74 68 | 65 4c 69 73 74 0d 69 66 |es of th|eList.if|
|00003fb0| 20 28 74 68 65 4f 70 74 | 69 6f 6e 20 69 73 20 22 | (theOpt|ion is "|
|00003fc0| 73 74 61 63 6b 4f 6e 6c | 79 22 29 20 74 68 65 6e |stackOnl|y") then|
|00003fd0| 0d 69 66 20 28 74 68 65 | 72 65 20 69 73 20 61 20 |.if (the|re is a |
|00003fe0| 73 74 61 63 6b 20 74 68 | 65 46 6f 6c 64 65 72 20 |stack th|eFolder |
|00003ff0| 26 20 6c 69 6e 65 20 69 | 20 6f 66 20 74 68 65 4c |& line i| of theL|
|00004000| 69 73 74 29 20 74 68 65 | 6e 0d 70 75 74 20 74 68 |ist) the|n.put th|
|00004010| 65 46 69 6c 65 73 20 26 | 20 72 65 74 75 72 6e 20 |eFiles &| return |
|00004020| 26 20 6c 69 6e 65 20 69 | 20 6f 66 20 74 68 65 4c |& line i| of theL|
|00004030| 69 73 74 20 69 6e 74 6f | 20 74 68 65 46 69 6c 65 |ist into| theFile|
|00004040| 73 0d 65 6e 64 20 69 66 | 0d 65 6c 73 65 0d 72 65 |s.end if|.else.re|
|00004050| 70 65 61 74 20 77 69 74 | 68 20 6a 20 3d 20 31 20 |peat wit|h j = 1 |
|00004060| 74 6f 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |to the n|umber of|
|00004070| 20 69 74 65 6d 73 20 6f | 66 20 74 68 65 4f 70 74 | items o|f theOpt|
|00004080| 69 6f 6e 0d 69 66 20 28 | 22 24 22 20 26 20 28 69 |ion.if (|"$" & (i|
|00004090| 74 65 6d 20 6a 20 6f 66 | 20 74 68 65 4f 70 74 69 |tem j of| theOpti|
|000040a0| 6f 6e 29 20 26 20 22 24 | 22 20 69 73 20 69 6e 20 |on) & "$|" is in |
|000040b0| 22 24 22 20 26 20 28 77 | 6f 72 64 20 31 20 6f 66 |"$" & (w|ord 1 of|
|000040c0| 20 6c 69 6e 65 20 69 20 | 6f 66 20 74 68 65 4c 69 | line i |of theLi|
|000040d0| 73 74 29 20 26 20 22 24 | 22 29 20 74 68 65 6e 0d |st) & "$|") then.|
|000040e0| 70 75 74 20 74 68 65 46 | 69 6c 65 73 20 26 20 72 |put theF|iles & r|
|000040f0| 65 74 75 72 6e 20 26 20 | 6c 69 6e 65 20 69 20 6f |eturn & |line i o|
|00004100| 66 20 74 68 65 4c 69 73 | 74 20 69 6e 74 6f 20 74 |f theLis|t into t|
|00004110| 68 65 46 69 6c 65 73 0d | 65 6e 64 20 69 66 0d 65 |heFiles.|end if.e|
|00004120| 6e 64 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 |nd repea|t.end if|
|00004130| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |.end rep|eat.end |
|00004140| 69 66 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 69 66 |if.end i|f.end if|
|00004150| 0d 69 66 20 28 63 68 61 | 72 20 31 20 6f 66 20 74 |.if (cha|r 1 of t|
|00004160| 68 65 46 69 6c 65 73 20 | 69 73 20 72 65 74 75 72 |heFiles |is retur|
|00004170| 6e 29 20 74 68 65 6e 20 | 64 65 6c 65 74 65 20 63 |n) then |delete c|
|00004180| 68 61 72 20 31 20 6f 66 | 20 74 68 65 46 69 6c 65 |har 1 of| theFile|
|00004190| 73 0d 72 65 74 75 72 6e | 20 74 68 65 46 69 6c 65 |s.return| theFile|
|000041a0| 73 0d 65 6e 64 20 6c 69 | 73 74 46 69 6c 65 73 0d |s.end li|stFiles.|
|000041b0| 0d 66 75 6e 63 74 69 6f | 6e 20 6d 61 6b 65 42 74 |.functio|n makeBt|
|000041c0| 6e 46 6c 64 20 74 68 65 | 42 67 43 64 2c 74 68 65 |nFld the|BgCd,the|
|000041d0| 42 74 6e 46 6c 64 2c 74 | 68 65 4e 61 6d 65 2c 74 |BtnFld,t|heName,t|
|000041e0| 68 65 52 65 63 74 61 6e | 67 6c 65 2c 74 68 65 53 |heRectan|gle,theS|
|000041f0| 74 79 6c 65 2c 74 68 65 | 41 6c 69 67 6e 2c 74 68 |tyle,the|Align,th|
|00004200| 65 53 69 7a 65 2c 74 68 | 65 54 65 78 74 2c 74 68 |eSize,th|eText,th|
|00004210| 65 53 63 72 69 70 74 2c | 74 68 65 43 6f 6e 74 65 |eScript,|theConte|
|00004220| 6e 74 73 2c 74 68 65 53 | 65 6c 65 63 74 2c 74 68 |nts,theS|elect,th|
|00004230| 65 57 69 64 74 68 2c 74 | 68 65 53 68 6f 77 48 69 |eWidth,t|heShowHi|
|00004240| 64 65 0d 69 66 20 20 20 | 20 20 20 28 74 68 65 42 |de.if | (theB|
|00004250| 74 6e 46 6c 64 20 69 73 | 20 22 62 74 6e 22 29 20 |tnFld is| "btn") |
|00004260| 74 68 65 6e 0d 69 66 20 | 20 20 20 20 20 28 28 74 |then.if | ((t|
|00004270| 68 65 42 67 43 64 20 69 | 73 20 22 62 67 22 29 20 |heBgCd i|s "bg") |
|00004280| 61 6e 64 20 28 74 68 65 | 72 65 20 69 73 20 6e 6f |and (the|re is no|
|00004290| 74 20 61 20 62 67 20 62 | 74 6e 20 74 68 65 4e 61 |t a bg b|tn theNa|
|000042a0| 6d 65 29 29 20 74 68 65 | 6e 0d 73 65 6e 64 20 28 |me)) the|n.send (|
|000042b0| 22 64 6f 4d 65 6e 75 20 | 22 20 26 20 71 75 6f 74 |"doMenu |" & quot|
|000042c0| 65 20 26 20 22 42 61 63 | 6b 67 72 6f 75 6e 64 22 |e & "Bac|kground"|
|000042d0| 20 26 20 71 75 6f 74 65 | 20 26 20 22 2c 22 20 26 | & quote| & "," &|
|000042e0| 20 71 75 6f 74 65 20 26 | 20 22 45 64 69 74 22 20 | quote &| "Edit" |
|000042f0| 26 20 71 75 6f 74 65 29 | 20 74 6f 20 48 79 70 65 |& quote)| to Hype|
|00004300| 72 43 61 72 64 0d 73 65 | 6e 64 20 28 22 64 6f 4d |rCard.se|nd ("doM|
|00004310| 65 6e 75 20 22 20 26 20 | 71 75 6f 74 65 20 26 20 |enu " & |quote & |
|00004320| 22 4e 65 77 20 42 75 74 | 74 6f 6e 22 20 26 20 71 |"New But|ton" & q|
|00004330| 75 6f 74 65 20 26 20 22 | 2c 22 20 26 20 71 75 6f |uote & "|," & quo|
|00004340| 74 65 20 26 20 22 4f 62 | 6a 65 63 74 73 22 20 26 |te & "Ob|jects" &|
|00004350| 20 71 75 6f 74 65 29 20 | 74 6f 20 48 79 70 65 72 | quote) |to Hyper|
|00004360| 43 61 72 64 0d 73 65 6e | 64 20 28 22 64 6f 4d 65 |Card.sen|d ("doMe|
|00004370| 6e 75 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |nu " & q|uote & "|
|00004380| 42 61 63 6b 67 72 6f 75 | 6e 64 22 20 26 20 71 75 |Backgrou|nd" & qu|
|00004390| 6f 74 65 20 26 20 22 2c | 22 20 26 20 71 75 6f 74 |ote & ",|" & quot|
|000043a0| 65 20 26 20 22 45 64 69 | 74 22 20 26 20 71 75 6f |e & "Edi|t" & quo|
|000043b0| 74 65 29 20 74 6f 20 48 | 79 70 65 72 43 61 72 64 |te) to H|yperCard|
|000043c0| 0d 73 65 6e 64 20 28 22 | 73 65 74 20 74 68 65 20 |.send ("|set the |
|000043d0| 6e 61 6d 65 20 6f 66 20 | 6c 61 73 74 20 22 20 26 |name of |last " &|
|000043e0| 20 74 68 65 42 67 43 64 | 20 26 20 22 20 22 20 26 | theBgCd| & " " &|
|000043f0| 20 74 68 65 42 74 6e 46 | 6c 64 20 26 20 22 20 74 | theBtnF|ld & " t|
|00004400| 6f 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 74 68 |o " & qu|ote & th|
|00004410| 65 4e 61 6d 65 20 26 20 | 71 75 6f 74 65 29 20 74 |eName & |quote) t|
|00004420| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6c 73 65 |o HyperC|ard.else|
|00004430| 20 69 66 20 28 28 74 68 | 65 42 67 43 64 20 69 73 | if ((th|eBgCd is|
|00004440| 20 22 63 64 22 29 20 61 | 6e 64 20 28 74 68 65 72 | "cd") a|nd (ther|
|00004450| 65 20 69 73 20 6e 6f 74 | 20 61 20 63 64 20 62 74 |e is not| a cd bt|
|00004460| 6e 20 74 68 65 4e 61 6d | 65 29 29 20 74 68 65 6e |n theNam|e)) then|
|00004470| 0d 73 65 6e 64 20 28 22 | 64 6f 4d 65 6e 75 20 22 |.send ("|doMenu "|
|00004480| 20 26 20 71 75 6f 74 65 | 20 26 20 22 4e 65 77 20 | & quote| & "New |
|00004490| 42 75 74 74 6f 6e 22 20 | 26 20 71 75 6f 74 65 20 |Button" |& quote |
|000044a0| 26 20 22 2c 22 20 26 20 | 71 75 6f 74 65 20 26 20 |& "," & |quote & |
|000044b0| 22 4f 62 6a 65 63 74 73 | 22 20 26 20 71 75 6f 74 |"Objects|" & quot|
|000044c0| 65 29 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |e) to Hy|perCard.|
|000044d0| 73 65 6e 64 20 28 22 73 | 65 74 20 74 68 65 20 6e |send ("s|et the n|
|000044e0| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 22 20 26 20 |ame of l|ast " & |
|000044f0| 74 68 65 42 67 43 64 20 | 26 20 22 20 22 20 26 20 |theBgCd |& " " & |
|00004500| 74 68 65 42 74 6e 46 6c | 64 20 26 20 22 20 74 6f |theBtnFl|d & " to|
|00004510| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 74 68 65 | " & quo|te & the|
|00004520| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 29 20 74 6f |Name & q|uote) to|
|00004530| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6e 64 20 69 | HyperCa|rd.end i|
|00004540| 66 0d 69 66 20 20 20 20 | 20 20 28 74 68 65 42 67 |f.if | (theBg|
|00004550| 43 64 20 69 73 20 22 62 | 67 22 29 20 74 68 65 6e |Cd is "b|g") then|
|00004560| 0d 73 65 74 20 74 68 65 | 20 73 63 72 69 70 74 20 |.set the| script |
|00004570| 6f 66 20 62 67 20 62 74 | 6e 20 74 68 65 4e 61 6d |of bg bt|n theNam|
|00004580| 65 20 74 6f 20 74 68 65 | 53 63 72 69 70 74 0d 65 |e to the|Script.e|
|00004590| 6c 73 65 20 69 66 20 28 | 74 68 65 42 67 43 64 20 |lse if (|theBgCd |
|000045a0| 69 73 20 22 63 64 22 29 | 20 74 68 65 6e 0d 73 65 |is "cd")| then.se|
|000045b0| 74 20 74 68 65 20 73 63 | 72 69 70 74 20 6f 66 20 |t the sc|ript of |
|000045c0| 63 64 20 62 74 6e 20 74 | 68 65 4e 61 6d 65 20 74 |cd btn t|heName t|
|000045d0| 6f 20 74 68 65 53 63 72 | 69 70 74 0d 65 6e 64 20 |o theScr|ipt.end |
|000045e0| 69 66 0d 65 6c 73 65 20 | 69 66 20 28 74 68 65 42 |if.else |if (theB|
|000045f0| 74 6e 46 6c 64 20 69 73 | 20 22 66 6c 64 22 29 20 |tnFld is| "fld") |
|00004600| 74 68 65 6e 0d 69 66 20 | 20 20 20 20 20 28 28 74 |then.if | ((t|
|00004610| 68 65 42 67 43 64 20 69 | 73 20 22 62 67 22 29 20 |heBgCd i|s "bg") |
|00004620| 61 6e 64 20 28 74 68 65 | 72 65 20 69 73 20 6e 6f |and (the|re is no|
|00004630| 74 20 61 20 62 67 20 66 | 6c 64 20 74 68 65 4e 61 |t a bg f|ld theNa|
|00004640| 6d 65 29 29 20 74 68 65 | 6e 0d 73 65 6e 64 20 28 |me)) the|n.send (|
|00004650| 22 64 6f 4d 65 6e 75 20 | 22 20 26 20 71 75 6f 74 |"doMenu |" & quot|
|00004660| 65 20 26 20 22 42 61 63 | 6b 67 72 6f 75 6e 64 22 |e & "Bac|kground"|
|00004670| 20 26 20 71 75 6f 74 65 | 20 26 20 22 2c 22 20 26 | & quote| & "," &|
|00004680| 20 71 75 6f 74 65 20 26 | 20 22 45 64 69 74 22 20 | quote &| "Edit" |
|00004690| 26 20 71 75 6f 74 65 29 | 20 74 6f 20 48 79 70 65 |& quote)| to Hype|
|000046a0| 72 43 61 72 64 0d 73 65 | 6e 64 20 28 22 64 6f 4d |rCard.se|nd ("doM|
|000046b0| 65 6e 75 20 22 20 26 20 | 71 75 6f 74 65 20 26 20 |enu " & |quote & |
|000046c0| 22 4e 65 77 20 46 69 65 | 6c 64 22 20 26 20 71 75 |"New Fie|ld" & qu|
|000046d0| 6f 74 65 20 26 20 22 2c | 22 20 26 20 71 75 6f 74 |ote & ",|" & quot|
|000046e0| 65 20 26 20 22 4f 62 6a | 65 63 74 73 22 20 26 20 |e & "Obj|ects" & |
|000046f0| 71 75 6f 74 65 29 20 74 | 6f 20 48 79 70 65 72 43 |quote) t|o HyperC|
|00004700| 61 72 64 0d 73 65 6e 64 | 20 28 22 64 6f 4d 65 6e |ard.send| ("doMen|
|00004710| 75 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 42 |u " & qu|ote & "B|
|00004720| 61 63 6b 67 72 6f 75 6e | 64 22 20 26 20 71 75 6f |ackgroun|d" & quo|
|00004730| 74 65 20 26 20 22 2c 22 | 20 26 20 71 75 6f 74 65 |te & ","| & quote|
|00004740| 20 26 20 22 45 64 69 74 | 22 20 26 20 71 75 6f 74 | & "Edit|" & quot|
|00004750| 65 29 20 74 6f 20 48 79 | 70 65 72 43 61 72 64 0d |e) to Hy|perCard.|
|00004760| 73 65 6e 64 20 28 22 73 | 65 74 20 74 68 65 20 6e |send ("s|et the n|
|00004770| 61 6d 65 20 6f 66 20 6c | 61 73 74 20 22 20 26 20 |ame of l|ast " & |
|00004780| 74 68 65 42 67 43 64 20 | 26 20 22 20 22 20 26 20 |theBgCd |& " " & |
|00004790| 74 68 65 42 74 6e 46 6c | 64 20 26 20 22 20 74 6f |theBtnFl|d & " to|
|000047a0| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 74 68 65 | " & quo|te & the|
|000047b0| 4e 61 6d 65 20 26 20 71 | 75 6f 74 65 29 20 74 6f |Name & q|uote) to|
|000047c0| 20 48 79 70 65 72 43 61 | 72 64 0d 65 6c 73 65 20 | HyperCa|rd.else |
|000047d0| 69 66 20 28 28 74 68 65 | 42 67 43 64 20 69 73 20 |if ((the|BgCd is |
|000047e0| 22 63 64 22 29 20 61 6e | 64 20 28 74 68 65 72 65 |"cd") an|d (there|
|000047f0| 20 69 73 20 6e 6f 74 20 | 61 20 63 64 20 66 6c 64 | is not |a cd fld|
|00004800| 20 74 68 65 4e 61 6d 65 | 29 29 20 74 68 65 6e 0d | theName|)) then.|
|00004810| 73 65 6e 64 20 28 22 64 | 6f 4d 65 6e 75 20 22 20 |send ("d|oMenu " |
|00004820| 26 20 71 75 6f 74 65 20 | 26 20 22 4e 65 77 20 46 |& quote |& "New F|
|00004830| 69 65 6c 64 22 20 26 20 | 71 75 6f 74 65 20 26 20 |ield" & |quote & |
|00004840| 22 2c 22 20 26 20 71 75 | 6f 74 65 20 26 20 22 4f |"," & qu|ote & "O|
|00004850| 62 6a 65 63 74 73 22 20 | 26 20 71 75 6f 74 65 29 |bjects" |& quote)|
|00004860| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 73 65 | to Hype|rCard.se|
|00004870| 6e 64 20 28 22 73 65 74 | 20 74 68 65 20 6e 61 6d |nd ("set| the nam|
|00004880| 65 20 6f 66 20 6c 61 73 | 74 20 22 20 26 20 74 68 |e of las|t " & th|
|00004890| 65 42 67 43 64 20 26 20 | 22 20 22 20 26 20 74 68 |eBgCd & |" " & th|
|000048a0| 65 42 74 6e 46 6c 64 20 | 26 20 22 20 74 6f 20 22 |eBtnFld |& " to "|
|000048b0| 20 26 20 71 75 6f 74 65 | 20 26 20 74 68 65 4e 61 | & quote| & theNa|
|000048c0| 6d 65 20 26 20 71 75 6f | 74 65 29 20 74 6f 20 48 |me & quo|te) to H|
|000048d0| 79 70 65 72 43 61 72 64 | 0d 65 6e 64 20 69 66 0d |yperCard|.end if.|
|000048e0| 69 66 20 20 20 20 20 20 | 28 74 68 65 42 67 43 64 |if |(theBgCd|
|000048f0| 20 69 73 20 22 62 67 22 | 29 20 74 68 65 6e 0d 73 | is "bg"|) then.s|
|00004900| 65 74 20 74 68 65 20 73 | 63 72 69 70 74 20 6f 66 |et the s|cript of|
|00004910| 20 62 67 20 66 6c 64 20 | 74 68 65 4e 61 6d 65 20 | bg fld |theName |
|00004920| 74 6f 20 74 68 65 53 63 | 72 69 70 74 0d 65 6c 73 |to theSc|ript.els|
|00004930| 65 20 69 66 20 28 74 68 | 65 42 67 43 64 20 69 73 |e if (th|eBgCd is|
|00004940| 20 22 63 64 22 29 20 74 | 68 65 6e 0d 73 65 74 20 | "cd") t|hen.set |
|00004950| 74 68 65 20 73 63 72 69 | 70 74 20 6f 66 20 63 64 |the scri|pt of cd|
|00004960| 20 66 6c 64 20 74 68 65 | 4e 61 6d 65 20 74 6f 20 | fld the|Name to |
|00004970| 74 68 65 53 63 72 69 70 | 74 0d 65 6e 64 20 69 66 |theScrip|t.end if|
|00004980| 0d 65 6e 64 20 69 66 0d | 73 65 6e 64 20 28 22 73 |.end if.|send ("s|
|00004990| 65 74 20 74 68 65 20 72 | 65 63 74 61 6e 67 6c 65 |et the r|ectangle|
|000049a0| 20 20 6f 66 20 22 20 26 | 20 74 68 65 42 67 43 64 | of " &| theBgCd|
|000049b0| 20 26 20 22 20 22 20 26 | 20 74 68 65 42 74 6e 46 | & " " &| theBtnF|
|000049c0| 6c 64 20 26 20 22 20 22 | 20 26 20 71 75 6f 74 65 |ld & " "| & quote|
|000049d0| 20 26 20 74 68 65 4e 61 | 6d 65 20 26 20 71 75 6f | & theNa|me & quo|
|000049e0| 74 65 20 26 20 22 20 74 | 6f 20 22 20 26 20 71 75 |te & " t|o " & qu|
|000049f0| 6f 74 65 20 26 20 74 68 | 65 52 65 63 74 61 6e 67 |ote & th|eRectang|
|00004a00| 6c 65 20 26 20 71 75 6f | 74 65 29 20 74 6f 20 48 |le & quo|te) to H|
|00004a10| 79 70 65 72 43 61 72 64 | 0d 73 65 6e 64 20 28 22 |yperCard|.send ("|
|00004a20| 73 65 74 20 74 68 65 20 | 73 74 79 6c 65 20 20 20 |set the |style |
|00004a30| 20 20 20 6f 66 20 22 20 | 26 20 74 68 65 42 67 43 | of " |& theBgC|
|00004a40| 64 20 26 20 22 20 22 20 | 26 20 74 68 65 42 74 6e |d & " " |& theBtn|
|00004a50| 46 6c 64 20 26 20 22 20 | 22 20 26 20 71 75 6f 74 |Fld & " |" & quot|
|00004a60| 65 20 26 20 74 68 65 4e | 61 6d 65 20 26 20 71 75 |e & theN|ame & qu|
|00004a70| 6f 74 65 20 26 20 22 20 | 74 6f 20 22 20 26 20 71 |ote & " |to " & q|
|00004a80| 75 6f 74 65 20 26 20 74 | 68 65 53 74 79 6c 65 20 |uote & t|heStyle |
|00004a90| 20 20 20 20 26 20 71 75 | 6f 74 65 29 20 74 6f 20 | & qu|ote) to |
|00004aa0| 48 79 70 65 72 43 61 72 | 64 0d 73 65 6e 64 20 28 |HyperCar|d.send (|
|00004ab0| 22 73 65 74 20 74 68 65 | 20 74 65 78 74 41 6c 69 |"set the| textAli|
|00004ac0| 67 6e 20 20 6f 66 20 22 | 20 26 20 74 68 65 42 67 |gn of "| & theBg|
|00004ad0| 43 64 20 26 20 22 20 22 | 20 26 20 74 68 65 42 74 |Cd & " "| & theBt|
|00004ae0| 6e 46 6c 64 20 26 20 22 | 20 22 20 26 20 71 75 6f |nFld & "| " & quo|
|00004af0| 74 65 20 26 20 74 68 65 | 4e 61 6d 65 20 26 20 71 |te & the|Name & q|
|00004b00| 75 6f 74 65 20 26 20 22 | 20 74 6f 20 22 20 26 20 |uote & "| to " & |
|00004b10| 71 75 6f 74 65 20 26 20 | 74 68 65 41 6c 69 67 6e |quote & |theAlign|
|00004b20| 20 20 20 20 20 26 20 71 | 75 6f 74 65 29 20 74 6f | & q|uote) to|
|00004b30| 20 48 79 70 65 72 43 61 | 72 64 0d 73 65 6e 64 20 | HyperCa|rd.send |
|00004b40| 28 22 73 65 74 20 74 68 | 65 20 74 65 78 74 46 6f |("set th|e textFo|
|00004b50| 6e 74 20 20 20 6f 66 20 | 22 20 26 20 74 68 65 42 |nt of |" & theB|
|00004b60| 67 43 64 20 26 20 22 20 | 22 20 26 20 74 68 65 42 |gCd & " |" & theB|
|00004b70| 74 6e 46 6c 64 20 26 20 | 22 20 22 20 26 20 71 75 |tnFld & |" " & qu|
|00004b80| 6f 74 65 20 26 20 74 68 | 65 4e 61 6d 65 20 26 20 |ote & th|eName & |
|00004b90| 71 75 6f 74 65 20 26 20 | 22 20 74 6f 20 22 20 26 |quote & |" to " &|
|00004ba0| 20 71 75 6f 74 65 20 26 | 20 22 43 6f 75 72 69 65 | quote &| "Courie|
|00004bb0| 72 22 20 20 20 20 26 20 | 71 75 6f 74 65 29 20 74 |r" & |quote) t|
|00004bc0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 73 65 6e 64 |o HyperC|ard.send|
|00004bd0| 20 28 22 73 65 74 20 74 | 68 65 20 74 65 78 74 53 | ("set t|he textS|
|00004be0| 69 7a 65 20 20 20 6f 66 | 20 22 20 26 20 74 68 65 |ize of| " & the|
|00004bf0| 42 67 43 64 20 26 20 22 | 20 22 20 26 20 74 68 65 |BgCd & "| " & the|
|00004c00| 42 74 6e 46 6c 64 20 26 | 20 22 20 22 20 26 20 71 |BtnFld &| " " & q|
|00004c10| 75 6f 74 65 20 26 20 74 | 68 65 4e 61 6d 65 20 26 |uote & t|heName &|
|00004c20| 20 71 75 6f 74 65 20 26 | 20 22 20 74 6f 20 22 20 | quote &| " to " |
|00004c30| 26 20 71 75 6f 74 65 20 | 26 20 74 68 65 53 69 7a |& quote |& theSiz|
|00004c40| 65 20 20 20 20 20 20 26 | 20 71 75 6f 74 65 29 20 |e &| quote) |
|00004c50| 74 6f 20 48 79 70 65 72 | 43 61 72 64 0d 73 65 6e |to Hyper|Card.sen|
|00004c60| 64 20 28 22 73 65 74 20 | 74 68 65 20 74 65 78 74 |d ("set |the text|
|00004c70| 53 74 79 6c 65 20 20 6f | 66 20 22 20 26 20 74 68 |Style o|f " & th|
|00004c80| 65 42 67 43 64 20 26 20 | 22 20 22 20 26 20 74 68 |eBgCd & |" " & th|
|00004c90| 65 42 74 6e 46 6c 64 20 | 26 20 22 20 22 20 26 20 |eBtnFld |& " " & |
|00004ca0| 71 75 6f 74 65 20 26 20 | 74 68 65 4e 61 6d 65 20 |quote & |theName |
|00004cb0| 26 20 71 75 6f 74 65 20 | 26 20 22 20 74 6f 20 22 |& quote |& " to "|
|00004cc0| 20 26 20 71 75 6f 74 65 | 20 26 20 74 68 65 54 65 | & quote| & theTe|
|00004cd0| 78 74 20 20 20 20 20 20 | 26 20 71 75 6f 74 65 29 |xt |& quote)|
|00004ce0| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 69 66 | to Hype|rCard.if|
|00004cf0| 20 20 20 20 20 20 28 74 | 68 65 42 74 6e 46 6c 64 | (t|heBtnFld|
|00004d00| 20 69 73 20 22 62 74 6e | 22 29 20 74 68 65 6e 0d | is "btn|") then.|
|00004d10| 73 65 6e 64 20 28 22 73 | 65 74 20 74 68 65 20 61 |send ("s|et the a|
|00004d20| 75 74 6f 48 69 6c 69 74 | 65 20 6f 66 20 22 20 26 |utoHilit|e of " &|
|00004d30| 20 74 68 65 42 67 43 64 | 20 26 20 22 20 22 20 26 | theBgCd| & " " &|
|00004d40| 20 74 68 65 42 74 6e 46 | 6c 64 20 26 20 22 20 22 | theBtnF|ld & " "|
|00004d50| 20 26 20 71 75 6f 74 65 | 20 26 20 74 68 65 4e 61 | & quote| & theNa|
|00004d60| 6d 65 20 26 20 71 75 6f | 74 65 20 26 20 22 20 74 |me & quo|te & " t|
|00004d70| 6f 20 22 20 26 20 71 75 | 6f 74 65 20 26 20 74 72 |o " & qu|ote & tr|
|00004d80| 75 65 20 20 20 20 20 20 | 26 20 71 75 6f 74 65 29 |ue |& quote)|
|00004d90| 20 74 6f 20 48 79 70 65 | 72 43 61 72 64 0d 73 65 | to Hype|rCard.se|
|00004da0| 6e 64 20 28 22 73 65 74 | 20 74 68 65 20 73 68 6f |nd ("set| the sho|
|00004db0| 77 4e 61 6d 65 20 20 20 | 6f 66 20 22 20 26 20 74 |wName |of " & t|
|00004dc0| 68 65 42 67 43 64 20 26 | 20 22 20 22 20 26 20 74 |heBgCd &| " " & t|
|00004dd0| 68 65 42 74 6e 46 6c 64 | 20 26 20 22 20 22 20 26 |heBtnFld| & " " &|
|00004de0| 20 71 75 6f 74 65 20 26 | 20 74 68 65 4e 61 6d 65 | quote &| theName|
|00004df0| 20 26 20 71 75 6f 74 65 | 20 26 20 22 20 74 6f 20 | & quote| & " to |
|00004e00| 22 20 26 20 71 75 6f 74 | 65 20 26 20 74 68 65 53 |" & quot|e & theS|
|00004e10| 65 6c 65 63 74 20 26 20 | 71 75 6f 74 65 29 20 74 |elect & |quote) t|
|00004e20| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 73 65 6e 64 |o HyperC|ard.send|
|00004e30| 20 28 22 73 65 74 20 74 | 68 65 20 74 69 74 6c 65 | ("set t|he title|
|00004e40| 57 69 64 74 68 20 6f 66 | 20 22 20 26 20 74 68 65 |Width of| " & the|
|00004e50| 42 67 43 64 20 26 20 22 | 20 22 20 26 20 74 68 65 |BgCd & "| " & the|
|00004e60| 42 74 6e 46 6c 64 20 26 | 20 22 20 22 20 26 20 71 |BtnFld &| " " & q|
|00004e70| 75 6f 74 65 20 26 20 74 | 68 65 4e 61 6d 65 20 26 |uote & t|heName &|
|00004e80| 20 71 75 6f 74 65 20 26 | 20 22 20 74 6f 20 22 20 | quote &| " to " |
|00004e90| 26 20 71 75 6f 74 65 20 | 26 20 74 68 65 57 69 64 |& quote |& theWid|
|00004ea0| 74 68 20 20 26 20 71 75 | 6f 74 65 29 20 74 6f 20 |th & qu|ote) to |
|00004eb0| 48 79 70 65 72 43 61 72 | 64 0d 65 6c 73 65 20 69 |HyperCar|d.else i|
|00004ec0| 66 20 28 74 68 65 42 74 | 6e 46 6c 64 20 69 73 20 |f (theBt|nFld is |
|00004ed0| 22 66 6c 64 22 29 20 74 | 68 65 6e 0d 73 65 6e 64 |"fld") t|hen.send|
|00004ee0| 20 28 22 73 65 74 20 74 | 68 65 20 61 75 74 6f 53 | ("set t|he autoS|
|00004ef0| 65 6c 65 63 74 20 6f 66 | 20 22 20 26 20 74 68 65 |elect of| " & the|
|00004f00| 42 67 43 64 20 26 20 22 | 20 22 20 26 20 74 68 65 |BgCd & "| " & the|
|00004f10| 42 74 6e 46 6c 64 20 26 | 20 22 20 22 20 26 20 71 |BtnFld &| " " & q|
|00004f20| 75 6f 74 65 20 26 20 74 | 68 65 4e 61 6d 65 20 26 |uote & t|heName &|
|00004f30| 20 71 75 6f 74 65 20 26 | 20 22 20 74 6f 20 22 20 | quote &| " to " |
|00004f40| 26 20 71 75 6f 74 65 20 | 26 20 74 68 65 53 65 6c |& quote |& theSel|
|00004f50| 65 63 74 20 26 20 71 75 | 6f 74 65 29 20 74 6f 20 |ect & qu|ote) to |
|00004f60| 48 79 70 65 72 43 61 72 | 64 0d 73 65 6e 64 20 28 |HyperCar|d.send (|
|00004f70| 22 73 65 74 20 74 68 65 | 20 64 6f 6e 74 53 65 61 |"set the| dontSea|
|00004f80| 72 63 68 20 6f 66 20 22 | 20 26 20 74 68 65 42 67 |rch of "| & theBg|
|00004f90| 43 64 20 26 20 22 20 22 | 20 26 20 74 68 65 42 74 |Cd & " "| & theBt|
|00004fa0| 6e 46 6c 64 20 26 20 22 | 20 22 20 26 20 71 75 6f |nFld & "| " & quo|
|00004fb0| 74 65 20 26 20 74 68 65 | 4e 61 6d 65 20 26 20 71 |te & the|Name & q|
|00004fc0| 75 6f 74 65 20 26 20 22 | 20 74 6f 20 22 20 26 20 |uote & "| to " & |
|00004fd0| 71 75 6f 74 65 20 26 20 | 74 68 65 53 65 6c 65 63 |quote & |theSelec|
|00004fe0| 74 20 26 20 71 75 6f 74 | 65 29 20 74 6f 20 48 79 |t & quot|e) to Hy|
|00004ff0| 70 65 72 43 61 72 64 0d | 73 65 6e 64 20 28 22 73 |perCard.|send ("s|
|00005000| 65 74 20 74 68 65 20 6c | 6f 63 6b 54 65 78 74 20 |et the l|ockText |
|00005010| 20 20 6f 66 20 22 20 26 | 20 74 68 65 42 67 43 64 | of " &| theBgCd|
|00005020| 20 26 20 22 20 22 20 26 | 20 74 68 65 42 74 6e 46 | & " " &| theBtnF|
|00005030| 6c 64 20 26 20 22 20 22 | 20 26 20 71 75 6f 74 65 |ld & " "| & quote|
|00005040| 20 26 20 74 68 65 4e 61 | 6d 65 20 26 20 71 75 6f | & theNa|me & quo|
|00005050| 74 65 20 26 20 22 20 74 | 6f 20 22 20 26 20 71 75 |te & " t|o " & qu|
|00005060| 6f 74 65 20 26 20 74 68 | 65 53 65 6c 65 63 74 20 |ote & th|eSelect |
|00005070| 26 20 71 75 6f 74 65 29 | 20 74 6f 20 48 79 70 65 |& quote)| to Hype|
|00005080| 72 43 61 72 64 0d 73 65 | 6e 64 20 28 22 73 65 74 |rCard.se|nd ("set|
|00005090| 20 74 68 65 20 73 68 61 | 72 65 64 54 65 78 74 20 | the sha|redText |
|000050a0| 6f 66 20 22 20 26 20 74 | 68 65 42 67 43 64 20 26 |of " & t|heBgCd &|
|000050b0| 20 22 20 22 20 26 20 74 | 68 65 42 74 6e 46 6c 64 | " " & t|heBtnFld|
|000050c0| 20 26 20 22 20 22 20 26 | 20 71 75 6f 74 65 20 26 | & " " &| quote &|
|000050d0| 20 74 68 65 4e 61 6d 65 | 20 26 20 71 75 6f 74 65 | theName| & quote|
|000050e0| 20 26 20 22 20 74 6f 20 | 22 20 26 20 71 75 6f 74 | & " to |" & quot|
|000050f0| 65 20 26 20 74 68 65 53 | 65 6c 65 63 74 20 26 20 |e & theS|elect & |
|00005100| 71 75 6f 74 65 29 20 74 | 6f 20 48 79 70 65 72 43 |quote) t|o HyperC|
|00005110| 61 72 64 0d 65 6e 64 20 | 69 66 0d 73 65 6e 64 20 |ard.end |if.send |
|00005120| 28 22 70 75 74 20 22 20 | 26 20 74 68 65 42 67 43 |("put " |& theBgC|
|00005130| 64 20 26 20 22 20 22 20 | 26 20 74 68 65 42 74 6e |d & " " |& theBtn|
|00005140| 46 6c 64 20 26 20 22 20 | 22 20 26 20 71 75 6f 74 |Fld & " |" & quot|
|00005150| 65 20 26 20 74 68 65 4e | 61 6d 65 20 26 20 71 75 |e & theN|ame & qu|
|00005160| 6f 74 65 20 26 20 22 20 | 69 6e 74 6f 20 74 68 65 |ote & " |into the|
|00005170| 45 78 69 73 74 22 29 20 | 74 6f 20 48 79 70 65 72 |Exist") |to Hyper|
|00005180| 43 61 72 64 0d 69 66 20 | 28 28 74 68 65 43 6f 6e |Card.if |((theCon|
|00005190| 74 65 6e 74 73 20 69 73 | 20 6e 6f 74 20 22 22 29 |tents is| not "")|
|000051a0| 20 61 6e 64 20 28 28 74 | 68 65 45 78 69 73 74 20 | and ((t|heExist |
|000051b0| 69 73 20 22 22 29 20 6f | 72 20 28 74 68 65 53 65 |is "") o|r (theSe|
|000051c0| 6c 65 63 74 20 69 73 20 | 22 74 72 75 65 22 29 29 |lect is |"true"))|
|000051d0| 29 20 74 68 65 6e 0d 73 | 65 6e 64 20 28 22 70 75 |) then.s|end ("pu|
|000051e0| 74 20 74 68 65 43 6f 6e | 74 65 6e 74 73 20 69 6e |t theCon|tents in|
|000051f0| 74 6f 20 22 20 26 20 74 | 68 65 42 67 43 64 20 26 |to " & t|heBgCd &|
|00005200| 20 22 20 22 20 26 20 74 | 68 65 42 74 6e 46 6c 64 | " " & t|heBtnFld|
|00005210| 20 26 20 22 20 22 20 26 | 20 71 75 6f 74 65 20 26 | & " " &| quote &|
|00005220| 20 74 68 65 4e 61 6d 65 | 20 26 20 71 75 6f 74 65 | theName| & quote|
|00005230| 29 20 74 6f 20 48 79 70 | 65 72 43 61 72 64 0d 65 |) to Hyp|erCard.e|
|00005240| 6e 64 20 69 66 0d 69 66 | 20 28 74 68 65 53 68 6f |nd if.if| (theSho|
|00005250| 77 48 69 64 65 20 69 73 | 20 22 68 69 64 65 22 29 |wHide is| "hide")|
|00005260| 20 74 68 65 6e 20 73 65 | 6e 64 20 28 74 68 65 53 | then se|nd (theS|
|00005270| 68 6f 77 48 69 64 65 20 | 26 20 22 20 22 20 26 20 |howHide |& " " & |
|00005280| 74 68 65 42 67 43 64 20 | 26 20 22 20 22 20 26 20 |theBgCd |& " " & |
|00005290| 74 68 65 42 74 6e 46 6c | 64 20 26 20 22 20 22 20 |theBtnFl|d & " " |
|000052a0| 26 20 71 75 6f 74 65 20 | 26 20 74 68 65 4e 61 6d |& quote |& theNam|
|000052b0| 65 20 26 20 71 75 6f 74 | 65 29 20 74 6f 20 48 79 |e & quot|e) to Hy|
|000052c0| 70 65 72 43 61 72 64 0d | 63 68 6f 6f 73 65 20 62 |perCard.|choose b|
|000052d0| 72 6f 77 73 65 20 74 6f | 6f 6c 0d 65 6e 64 20 6d |rowse to|ol.end m|
|000052e0| 61 6b 65 42 74 6e 46 6c | 64 0d 0d 66 75 6e 63 74 |akeBtnFl|d..funct|
|000052f0| 69 6f 6e 20 72 65 6d 6f | 76 65 53 70 61 63 65 0d |ion remo|veSpace.|
|00005300| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00005310| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00005320| 6f 66 20 62 67 20 66 6c | 64 73 0d 72 65 70 65 61 |of bg fl|ds.repea|
|00005330| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00005340| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00005350| 6e 65 73 20 6f 66 20 62 | 67 20 66 6c 64 20 69 0d |nes of b|g fld i.|
|00005360| 72 65 70 65 61 74 20 77 | 68 69 6c 65 20 6c 61 73 |repeat w|hile las|
|00005370| 74 20 63 68 61 72 20 6f | 66 20 6c 69 6e 65 20 6a |t char o|f line j|
|00005380| 20 6f 66 20 62 67 20 66 | 6c 64 20 69 20 69 73 20 | of bg f|ld i is |
|00005390| 22 20 22 0d 64 65 6c 65 | 74 65 20 6c 61 73 74 20 |" ".dele|te last |
|000053a0| 63 68 61 72 20 6f 66 20 | 6c 69 6e 65 20 6a 20 6f |char of |line j o|
|000053b0| 66 20 62 67 20 66 6c 64 | 20 69 0d 65 6e 64 20 72 |f bg fld| i.end r|
|000053c0| 65 70 65 61 74 0d 65 6e | 64 20 72 65 70 65 61 74 |epeat.en|d repeat|
|000053d0| 0d 72 65 70 65 61 74 20 | 77 68 69 6c 65 20 6c 61 |.repeat |while la|
|000053e0| 73 74 20 20 63 68 61 72 | 20 6f 66 20 62 67 20 66 |st char| of bg f|
|000053f0| 6c 64 20 69 20 69 73 20 | 72 65 74 75 72 6e 0d 64 |ld i is |return.d|
|00005400| 65 6c 65 74 65 20 6c 61 | 73 74 20 20 63 68 61 72 |elete la|st char|
|00005410| 20 6f 66 20 62 67 20 66 | 6c 64 20 69 0d 65 6e 64 | of bg f|ld i.end|
|00005420| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00005430| 61 74 0d 65 6e 64 20 72 | 65 6d 6f 76 65 53 70 61 |at.end r|emoveSpa|
|00005440| 63 65 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 73 61 79 |ce..func|tion say|
|00005450| 49 74 20 74 68 65 49 74 | 0d 69 66 20 28 71 75 6f |It theIt|.if (quo|
|00005460| 74 65 20 69 73 20 6e 6f | 74 20 69 6e 20 74 68 65 |te is no|t in the|
|00005470| 49 74 29 20 74 68 65 6e | 0d 70 75 74 20 22 61 63 |It) then|.put "ac|
|00005480| 6b 6e 6f 77 6c 65 64 67 | 65 20 73 61 79 69 6e 67 |knowledg|e saying|
|00005490| 20 22 20 26 20 71 75 6f | 74 65 20 26 20 74 68 65 | " & quo|te & the|
|000054a0| 49 74 20 26 20 71 75 6f | 74 65 20 69 6e 74 6f 20 |It & quo|te into |
|000054b0| 73 61 79 49 74 0d 64 6f | 20 73 61 79 49 74 20 61 |sayIt.do| sayIt a|
|000054c0| 73 20 41 70 70 6c 65 53 | 63 72 69 70 74 0d 65 6e |s AppleS|cript.en|
|000054d0| 64 20 69 66 0d 65 6e 64 | 20 73 61 79 49 74 0d 0d |d if.end| sayIt..|
|000054e0| 66 75 6e 63 74 69 6f 6e | 20 73 65 74 75 70 43 61 |function| setupCa|
|000054f0| 72 64 0d 73 65 74 20 74 | 68 65 20 63 61 6e 74 44 |rd.set t|he cantD|
|00005500| 65 6c 65 74 65 20 6f 66 | 20 74 68 69 73 20 62 67 |elete of| this bg|
|00005510| 20 74 6f 20 74 72 75 65 | 0d 73 65 74 20 74 68 65 | to true|.set the|
|00005520| 20 63 61 6e 74 44 65 6c | 65 74 65 20 6f 66 20 74 | cantDel|ete of t|
|00005530| 68 69 73 20 63 64 20 74 | 6f 20 74 72 75 65 0d 73 |his cd t|o true.s|
|00005540| 65 74 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |et the n|ame of t|
|00005550| 68 69 73 20 63 64 20 74 | 6f 20 62 67 20 66 6c 64 |his cd t|o bg fld|
|00005560| 20 22 54 69 74 6c 65 22 | 0d 73 65 74 20 74 68 65 | "Title"|.set the|
|00005570| 20 74 65 78 74 53 74 79 | 6c 65 20 6f 66 20 6c 69 | textSty|le of li|
|00005580| 6e 65 20 31 20 6f 66 20 | 62 67 20 66 6c 64 20 22 |ne 1 of |bg fld "|
|00005590| 54 69 74 6c 65 22 20 74 | 6f 20 62 6f 6c 64 0d 70 |Title" t|o bold.p|
|000055a0| 75 74 20 22 22 20 69 6e | 74 6f 20 62 67 20 66 6c |ut "" in|to bg fl|
|000055b0| 64 20 22 54 65 78 74 22 | 20 6f 66 20 63 64 20 22 |d "Text"| of cd "|
|000055c0| 28 49 6e 64 65 78 29 22 | 0d 69 66 20 28 22 24 43 |(Index)"|.if ("$C|
|000055d0| 61 6c 65 6e 64 61 72 24 | 22 20 69 73 20 69 6e 20 |alendar$|" is in |
|000055e0| 22 24 22 20 26 20 28 77 | 6f 72 64 20 31 20 6f 66 |"$" & (w|ord 1 of|
|000055f0| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00005600| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 29 20 26 |of this |stack) &|
|00005610| 20 22 24 22 29 20 74 68 | 65 6e 0d 70 75 74 20 74 | "$") th|en.put t|
|00005620| 68 65 20 69 74 65 6d 44 | 65 6c 69 6d 69 74 65 72 |he itemD|elimiter|
|00005630| 20 69 6e 74 6f 20 6f 72 | 69 67 69 6e 61 6c 53 65 | into or|iginalSe|
|00005640| 74 74 69 6e 67 0d 73 65 | 74 20 74 68 65 20 69 74 |tting.se|t the it|
|00005650| 65 6d 44 65 6c 69 6d 69 | 74 65 72 20 74 6f 20 22 |emDelimi|ter to "|
|00005660| 2d 22 0d 70 75 74 20 69 | 74 65 6d 20 31 20 6f 66 |-".put i|tem 1 of|
|00005670| 20 62 67 20 66 6c 64 20 | 22 54 69 74 6c 65 22 20 | bg fld |"Title" |
|00005680| 69 6e 74 6f 20 74 68 65 | 59 65 61 72 0d 70 75 74 |into the|Year.put|
|00005690| 20 69 74 65 6d 20 32 20 | 6f 66 20 62 67 20 66 6c | item 2 |of bg fl|
|000056a0| 64 20 22 54 69 74 6c 65 | 22 20 69 6e 74 6f 20 74 |d "Title|" into t|
|000056b0| 68 65 4d 6f 6e 74 68 0d | 73 65 74 20 74 68 65 20 |heMonth.|set the |
|000056c0| 69 74 65 6d 44 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemDeli|miter to|
|000056d0| 20 6f 72 69 67 69 6e 61 | 6c 53 65 74 74 69 6e 67 | origina|lSetting|
|000056e0| 0d 70 75 74 20 66 69 6c | 6c 43 61 6c 65 6e 64 61 |.put fil|lCalenda|
|000056f0| 72 28 74 68 65 59 65 61 | 72 20 26 20 22 2c 22 20 |r(theYea|r & "," |
|00005700| 26 20 74 68 65 4d 6f 6e | 74 68 29 20 69 6e 74 6f |& theMon|th) into|
|00005710| 20 6e 75 6c 6c 0d 65 6e | 64 20 69 66 0d 65 6e 64 | null.en|d if.end|
|00005720| 20 73 65 74 75 70 43 61 | 72 64 0d 0d 66 75 6e 63 | setupCa|rd..func|
|00005730| 74 69 6f 6e 20 73 68 6f | 77 41 62 6f 75 74 0d 70 |tion sho|wAbout.p|
|00005740| 75 74 20 c2 0d 22 48 79 | 70 65 72 49 6e 66 6f 20 |ut .."Hy|perInfo |
|00005750| 49 6e 74 65 6c 6c 69 67 | 65 6e 74 20 4f 72 67 61 |Intellig|ent Orga|
|00005760| 6e 69 73 61 74 69 6f 6e | 20 53 79 73 74 65 6d 22 |nisation| System"|
|00005770| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 2d | & retur|n & .."-|
|00005780| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005790| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000057a0| 2d 2d 2d 2d 2d 2d 2d 2d | 22 20 26 20 72 65 74 75 |--------|" & retu|
|000057b0| 72 6e 20 26 20 c2 0d 22 | 56 65 72 73 69 6f 6e 20 |rn & .."|Version |
|000057c0| 32 2e 30 20 28 31 39 39 | 34 2d 31 32 2d 33 31 29 |2.0 (199|4-12-31)|
|000057d0| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 72 65 74 |" & retu|rn & ret|
|000057e0| 75 72 6e 20 26 20 c2 0d | 22 43 6f 70 79 72 69 67 |urn & ..|"Copyrig|
|000057f0| 68 74 20 a9 20 31 39 39 | 34 20 62 79 20 48 79 70 |ht . 199|4 by Hyp|
|00005800| 65 72 49 6e 66 6f 20 43 | 61 6e 61 64 61 20 49 6e |erInfo C|anada In|
|00005810| 63 2e 22 20 26 20 72 65 | 74 75 72 6e 20 26 20 72 |c." & re|turn & r|
|00005820| 65 74 75 72 6e 20 26 20 | c2 0d 22 41 6c 6c 20 72 |eturn & |.."All r|
|00005830| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 22 |ights re|served."|
|00005840| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 50 | & retur|n & .."P|
|00005850| 72 6f 64 75 63 65 64 20 | 69 6e 20 43 61 6e 61 64 |roduced |in Canad|
|00005860| 61 2e 22 20 69 6e 74 6f | 20 74 68 65 43 72 65 64 |a." into| theCred|
|00005870| 69 74 0d 70 75 74 20 73 | 61 79 49 74 28 74 68 65 |it.put s|ayIt(the|
|00005880| 43 72 65 64 69 74 29 20 | 69 6e 74 6f 20 6e 75 6c |Credit) |into nul|
|00005890| 6c 0d 61 6e 73 77 65 72 | 20 74 68 65 43 72 65 64 |l.answer| theCred|
|000058a0| 69 74 20 77 69 74 68 20 | 22 43 61 6e 63 65 6c 22 |it with |"Cancel"|
|000058b0| 20 6f 72 20 22 4d 6f 72 | 65 2e 2e 2e 22 0d 69 66 | or "Mor|e...".if|
|000058c0| 20 28 69 74 20 69 73 20 | 6e 6f 74 20 22 43 61 6e | (it is |not "Can|
|000058d0| 63 65 6c 22 29 20 74 68 | 65 6e 0d 70 75 74 20 c2 |cel") th|en.put .|
|000058e0| 0d 22 54 68 69 73 20 48 | 79 70 65 72 43 61 72 64 |."This H|yperCard|
|000058f0| 20 73 74 61 63 6b 20 68 | 65 6c 70 73 20 79 6f 75 | stack h|elps you|
|00005900| 20 6f 72 67 61 6e 69 73 | 65 20 61 6e 64 20 70 72 | organis|e and pr|
|00005910| 6f 63 65 73 73 20 69 6e | 66 6f 72 6d 61 74 69 6f |ocess in|formatio|
|00005920| 6e 20 69 6e 74 6f 20 6b | 6e 6f 77 6c 65 64 67 65 |n into k|nowledge|
|00005930| 20 62 61 73 65 20 4f 62 | 6a 65 63 74 73 2e 20 20 | base Ob|jects. |
|00005940| 22 20 26 20 c2 0d 22 4f | 6e 63 65 20 79 6f 75 20 |" & .."O|nce you |
|00005950| 73 74 6f 72 65 20 48 79 | 70 65 72 43 61 72 64 20 |store Hy|perCard |
|00005960| 4f 62 6a 65 63 74 20 65 | 6c 65 6d 65 6e 74 73 20 |Object e|lements |
|00005970| 69 6e 20 74 68 65 20 6d | 61 73 74 65 72 20 53 6f |in the m|aster So|
|00005980| 75 72 63 65 20 4c 69 62 | 72 61 72 79 2c 20 73 74 |urce Lib|rary, st|
|00005990| 61 63 6b 73 20 63 61 6e | 20 62 65 20 61 75 74 6f |acks can| be auto|
|000059a0| 6d 61 74 69 63 61 6c 6c | 79 20 62 75 69 6c 74 20 |maticall|y built |
|000059b0| 61 6e 64 20 75 70 64 61 | 74 65 64 20 74 68 72 6f |and upda|ted thro|
|000059c0| 75 67 68 20 61 20 63 6f | 72 72 65 63 74 2d 62 79 |ugh a co|rrect-by|
|000059d0| 2d 63 6f 6e 73 74 72 75 | 63 74 69 6f 6e 20 6d 65 |-constru|ction me|
|000059e0| 74 68 6f 64 2e 22 20 69 | 6e 74 6f 20 74 68 65 41 |thod." i|nto theA|
|000059f0| 62 73 74 72 61 63 74 0d | 70 75 74 20 73 61 79 49 |bstract.|put sayI|
|00005a00| 74 28 74 68 65 41 62 73 | 74 72 61 63 74 29 20 69 |t(theAbs|tract) i|
|00005a10| 6e 74 6f 20 6e 75 6c 6c | 0d 61 6e 73 77 65 72 20 |nto null|.answer |
|00005a20| 74 68 65 41 62 73 74 72 | 61 63 74 0d 65 6e 64 20 |theAbstr|act.end |
|00005a30| 69 66 0d 62 65 65 70 20 | 31 0d 65 6e 64 20 73 68 |if.beep |1.end sh|
|00005a40| 6f 77 41 62 6f 75 74 0d | 0d 66 75 6e 63 74 69 6f |owAbout.|.functio|
|00005a50| 6e 20 73 68 6f 77 50 69 | 63 74 20 74 68 65 50 69 |n showPi|ct thePi|
|00005a60| 63 74 2c 74 68 65 50 6f | 73 69 74 69 6f 6e 0d 70 |ct,thePo|sition.p|
|00005a70| 69 63 74 75 72 65 20 74 | 68 65 50 69 63 74 2c 72 |icture t|hePict,r|
|00005a80| 65 73 6f 75 72 63 65 2c | 72 65 63 74 2c 66 61 6c |esource,|rect,fal|
|00005a90| 73 65 2c 31 0d 69 66 20 | 28 74 68 65 72 65 20 69 |se,1.if |(there i|
|00005aa0| 73 20 61 20 77 69 6e 64 | 6f 77 20 74 68 65 50 69 |s a wind|ow thePi|
|00005ab0| 63 74 29 20 74 68 65 6e | 0d 63 6c 6f 73 65 20 77 |ct) then|.close w|
|00005ac0| 69 6e 64 6f 77 20 74 68 | 65 50 69 63 74 0d 41 64 |indow th|ePict.Ad|
|00005ad0| 64 43 6f 6c 6f 72 20 63 | 6f 6c 6f 72 50 69 63 74 |dColor c|olorPict|
|00005ae0| 2c 22 63 64 22 2c 74 68 | 65 50 69 63 74 2c 74 68 |,"cd",th|ePict,th|
|00005af0| 65 50 6f 73 69 74 69 6f | 6e 2c 31 0d 65 6e 64 20 |ePositio|n,1.end |
|00005b00| 69 66 0d 65 6e 64 20 73 | 68 6f 77 50 69 63 74 0d |if.end s|howPict.|
|00005b10| 0d 66 75 6e 63 74 69 6f | 6e 20 73 74 61 63 6b 43 |.functio|n stackC|
|00005b20| 6c 6f 73 65 20 74 68 65 | 4f 70 74 69 6f 6e 0d 75 |lose the|Option.u|
|00005b30| 6e 6d 61 72 6b 20 61 6c | 6c 20 63 64 73 0d 73 74 |nmark al|l cds.st|
|00005b40| 6f 70 20 75 73 69 6e 67 | 20 74 68 69 73 20 73 74 |op using| this st|
|00005b50| 61 63 6b 0d 69 66 20 20 | 20 20 20 20 28 74 68 65 |ack.if | (the|
|00005b60| 4f 70 74 69 6f 6e 20 69 | 73 20 22 6f 70 74 69 6f |Option i|s "optio|
|00005b70| 6e 22 29 20 74 68 65 6e | 0d 73 6f 72 74 20 63 64 |n") then|.sort cd|
|00005b80| 73 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 20 |s of thi|s stack |
|00005b90| 61 73 63 65 6e 64 69 6e | 67 20 69 6e 74 65 72 6e |ascendin|g intern|
|00005ba0| 61 74 69 6f 6e 61 6c 20 | 62 79 20 74 68 65 20 73 |ational |by the s|
|00005bb0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 74 68 69 |hort nam|e of thi|
|00005bc0| 73 20 63 64 0d 73 65 6e | 64 20 28 22 64 6f 4d 65 |s cd.sen|d ("doMe|
|00005bd0| 6e 75 20 22 20 26 20 71 | 75 6f 74 65 20 26 20 22 |nu " & q|uote & "|
|00005be0| 43 6f 6d 70 61 63 74 20 | 53 74 61 63 6b 22 20 26 |Compact |Stack" &|
|00005bf0| 20 71 75 6f 74 65 20 26 | 20 22 2c 22 20 26 20 71 | quote &| "," & q|
|00005c00| 75 6f 74 65 20 26 20 22 | 46 69 6c 65 22 20 26 20 |uote & "|File" & |
|00005c10| 71 75 6f 74 65 29 20 74 | 6f 20 48 79 70 65 72 43 |quote) t|o HyperC|
|00005c20| 61 72 64 0d 65 6c 73 65 | 20 69 66 20 28 74 68 65 |ard.else| if (the|
|00005c30| 20 66 72 65 65 53 69 7a | 65 20 6f 66 20 74 68 69 | freeSiz|e of thi|
|00005c40| 73 20 73 74 61 63 6b 20 | 3e 20 30 2e 32 35 20 2a |s stack |> 0.25 *|
|00005c50| 20 74 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 69 | the siz|e of thi|
|00005c60| 73 20 73 74 61 63 6b 29 | 20 6f 72 20 28 74 68 65 |s stack)| or (the|
|00005c70| 20 66 72 65 65 53 69 7a | 65 20 6f 66 20 74 68 69 | freeSiz|e of thi|
|00005c80| 73 20 73 74 61 63 6b 20 | 3e 20 33 32 37 36 38 29 |s stack |> 32768)|
|00005c90| 20 74 68 65 6e 0d 73 65 | 6e 64 20 28 22 64 6f 4d | then.se|nd ("doM|
|00005ca0| 65 6e 75 20 22 20 26 20 | 71 75 6f 74 65 20 26 20 |enu " & |quote & |
|00005cb0| 22 43 6f 6d 70 61 63 74 | 20 53 74 61 63 6b 22 20 |"Compact| Stack" |
|00005cc0| 26 20 71 75 6f 74 65 20 | 26 20 22 2c 22 20 26 20 |& quote |& "," & |
|00005cd0| 71 75 6f 74 65 20 26 20 | 22 46 69 6c 65 22 20 26 |quote & |"File" &|
|00005ce0| 20 71 75 6f 74 65 29 20 | 74 6f 20 48 79 70 65 72 | quote) |to Hyper|
|00005cf0| 43 61 72 64 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |Card.end| if.end |
|00005d00| 73 74 61 63 6b 43 6c 6f | 73 65 0d 0d 66 75 6e 63 |stackClo|se..func|
|00005d10| 74 69 6f 6e 20 73 74 61 | 63 6b 46 6f 6c 64 65 72 |tion sta|ckFolder|
|00005d20| 0d 70 75 74 20 74 68 65 | 20 6c 6f 6e 67 20 6e 61 |.put the| long na|
|00005d30| 6d 65 20 6f 66 20 74 68 | 69 73 20 73 74 61 63 6b |me of th|is stack|
|00005d40| 20 69 6e 74 6f 20 74 68 | 65 46 6f 6c 64 65 72 0d | into th|eFolder.|
|00005d50| 64 65 6c 65 74 65 20 66 | 69 72 73 74 20 77 6f 72 |delete f|irst wor|
|00005d60| 64 20 6f 66 20 74 68 65 | 46 6f 6c 64 65 72 0d 64 |d of the|Folder.d|
|00005d70| 65 6c 65 74 65 20 66 69 | 72 73 74 20 63 68 61 72 |elete fi|rst char|
|00005d80| 20 6f 66 20 74 68 65 46 | 6f 6c 64 65 72 0d 64 65 | of theF|older.de|
|00005d90| 6c 65 74 65 20 6c 61 73 | 74 20 20 63 68 61 72 20 |lete las|t char |
|00005da0| 6f 66 20 74 68 65 46 6f | 6c 64 65 72 0d 70 75 74 |of theFo|lder.put|
|00005db0| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 | the ite|mDelimit|
|00005dc0| 65 72 20 69 6e 74 6f 20 | 6f 72 69 67 69 6e 61 6c |er into |original|
|00005dd0| 53 65 74 74 69 6e 67 0d | 73 65 74 20 74 68 65 20 |Setting.|set the |
|00005de0| 69 74 65 6d 44 65 6c 69 | 6d 69 74 65 72 20 74 6f |itemDeli|miter to|
|00005df0| 20 22 3a 22 0d 64 65 6c | 65 74 65 20 6c 61 73 74 | ":".del|ete last|
|00005e00| 20 20 69 74 65 6d 20 6f | 66 20 74 68 65 46 6f 6c | item o|f theFol|
|00005e10| 64 65 72 0d 73 65 74 20 | 74 68 65 20 69 74 65 6d |der.set |the item|
|00005e20| 44 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 6f 72 69 |Delimite|r to ori|
|00005e30| 67 69 6e 61 6c 53 65 74 | 74 69 6e 67 0d 72 65 74 |ginalSet|ting.ret|
|00005e40| 75 72 6e 20 74 68 65 46 | 6f 6c 64 65 72 0d 65 6e |urn theF|older.en|
|00005e50| 64 20 73 74 61 63 6b 46 | 6f 6c 64 65 72 0d 0d 66 |d stackF|older..f|
|00005e60| 75 6e 63 74 69 6f 6e 20 | 74 65 78 74 53 68 69 66 |unction |textShif|
|00005e70| 74 20 74 68 65 44 69 72 | 65 63 74 69 6f 6e 2c 74 |t theDir|ection,t|
|00005e80| 68 65 43 68 61 72 2c 74 | 68 65 42 65 66 6f 72 65 |heChar,t|heBefore|
|00005e90| 0d 70 75 74 20 22 22 20 | 69 6e 74 6f 20 74 68 65 |.put "" |into the|
|00005ea0| 41 66 74 65 72 0d 72 65 | 70 65 61 74 20 77 69 74 |After.re|peat wit|
|00005eb0| 68 20 69 20 3d 20 31 20 | 74 6f 20 74 68 65 20 6e |h i = 1 |to the n|
|00005ec0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|00005ed0| 66 20 74 68 65 42 65 66 | 6f 72 65 0d 69 66 20 20 |f theBef|ore.if |
|00005ee0| 20 20 20 20 28 74 68 65 | 44 69 72 65 63 74 69 6f | (the|Directio|
|00005ef0| 6e 20 69 73 20 22 6c 65 | 66 74 22 29 20 74 68 65 |n is "le|ft") the|
|00005f00| 6e 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 6a 20 |n.repeat| with j |
|00005f10| 3d 20 31 20 74 6f 20 74 | 68 65 20 6e 75 6d 62 65 |= 1 to t|he numbe|
|00005f20| 72 20 6f 66 20 63 68 61 | 72 73 20 6f 66 20 74 68 |r of cha|rs of th|
|00005f30| 65 43 68 61 72 0d 69 66 | 20 28 63 68 61 72 20 31 |eChar.if| (char 1|
|00005f40| 20 6f 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 74 68 | of line| i of th|
|00005f50| 65 42 65 66 6f 72 65 20 | 69 73 20 63 68 61 72 20 |eBefore |is char |
|00005f60| 6a 20 6f 66 20 74 68 65 | 43 68 61 72 29 20 74 68 |j of the|Char) th|
|00005f70| 65 6e 20 64 65 6c 65 74 | 65 20 63 68 61 72 20 31 |en delet|e char 1|
|00005f80| 20 6f 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 74 68 | of line| i of th|
|00005f90| 65 42 65 66 6f 72 65 0d | 65 6e 64 20 72 65 70 65 |eBefore.|end repe|
|00005fa0| 61 74 0d 70 75 74 20 74 | 68 65 41 66 74 65 72 20 |at.put t|heAfter |
|00005fb0| 26 20 72 65 74 75 72 6e | 20 26 20 6c 69 6e 65 20 |& return| & line |
|00005fc0| 69 20 6f 66 20 74 68 65 | 42 65 66 6f 72 65 20 69 |i of the|Before i|
|00005fd0| 6e 74 6f 20 74 68 65 41 | 66 74 65 72 0d 65 6c 73 |nto theA|fter.els|
|00005fe0| 65 20 69 66 20 28 74 68 | 65 44 69 72 65 63 74 69 |e if (th|eDirecti|
|00005ff0| 6f 6e 20 69 73 20 22 72 | 69 67 68 74 22 29 20 74 |on is "r|ight") t|
|00006000| 68 65 6e 0d 70 75 74 20 | 74 68 65 41 66 74 65 72 |hen.put |theAfter|
|00006010| 20 26 20 72 65 74 75 72 | 6e 20 26 20 74 68 65 43 | & retur|n & theC|
|00006020| 68 61 72 20 26 20 6c 69 | 6e 65 20 69 20 6f 66 20 |har & li|ne i of |
|00006030| 74 68 65 42 65 66 6f 72 | 65 20 69 6e 74 6f 20 74 |theBefor|e into t|
|00006040| 68 65 41 66 74 65 72 0d | 65 6e 64 20 69 66 0d 65 |heAfter.|end if.e|
|00006050| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 74 68 |nd repea|t.put th|
|00006060| 65 41 66 74 65 72 20 26 | 20 72 65 74 75 72 6e 20 |eAfter &| return |
|00006070| 69 6e 74 6f 20 74 68 65 | 41 66 74 65 72 0d 69 66 |into the|After.if|
|00006080| 20 28 63 68 61 72 20 31 | 20 6f 66 20 74 68 65 41 | (char 1| of theA|
|00006090| 66 74 65 72 20 69 73 20 | 72 65 74 75 72 6e 29 20 |fter is |return) |
|000060a0| 74 68 65 6e 20 64 65 6c | 65 74 65 20 63 68 61 72 |then del|ete char|
|000060b0| 20 31 20 6f 66 20 74 68 | 65 41 66 74 65 72 0d 72 | 1 of th|eAfter.r|
|000060c0| 65 74 75 72 6e 20 74 68 | 65 41 66 74 65 72 0d 65 |eturn th|eAfter.e|
|000060d0| 6e 64 20 74 65 78 74 53 | 68 69 66 74 0d 0d 66 75 |nd textS|hift..fu|
|000060e0| 6e 63 74 69 6f 6e 20 74 | 65 78 74 53 6f 72 74 20 |nction t|extSort |
|000060f0| 74 68 65 44 69 72 65 63 | 74 69 6f 6e 2c 74 68 65 |theDirec|tion,the|
|00006100| 42 65 66 6f 72 65 0d 70 | 75 74 20 22 22 20 69 6e |Before.p|ut "" in|
|00006110| 74 6f 20 74 68 65 54 61 | 62 0d 72 65 70 65 61 74 |to theTa|b.repeat|
|00006120| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00006130| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 6c 69 6e |he numbe|r of lin|
|00006140| 65 73 20 6f 66 20 74 68 | 65 42 65 66 6f 72 65 0d |es of th|eBefore.|
|00006150| 69 66 20 20 20 20 20 20 | 28 6c 69 6e 65 20 69 20 |if |(line i |
|00006160| 6f 66 20 74 68 65 42 65 | 66 6f 72 65 20 69 73 20 |of theBe|fore is |
|00006170| 22 22 29 20 74 68 65 6e | 0d 65 6c 73 65 20 69 66 |"") then|.else if|
|00006180| 20 28 63 68 61 72 20 31 | 20 6f 66 20 6c 69 6e 65 | (char 1| of line|
|00006190| 20 69 20 6f 66 20 74 68 | 65 42 65 66 6f 72 65 20 | i of th|eBefore |
|000061a0| 69 73 20 6e 6f 74 20 22 | 20 22 29 20 74 68 65 6e |is not "| ") then|
|000061b0| 0d 70 75 74 20 74 68 65 | 54 61 62 20 26 20 72 65 |.put the|Tab & re|
|000061c0| 74 75 72 6e 20 26 20 6c | 69 6e 65 20 69 20 6f 66 |turn & l|ine i of|
|000061d0| 20 74 68 65 42 65 66 6f | 72 65 20 69 6e 74 6f 20 | theBefo|re into |
|000061e0| 74 68 65 54 61 62 0d 65 | 6c 73 65 0d 70 75 74 20 |theTab.e|lse.put |
|000061f0| 74 68 65 54 61 62 20 26 | 20 74 61 62 20 20 20 20 |theTab &| tab |
|00006200| 26 20 6c 69 6e 65 20 69 | 20 6f 66 20 74 68 65 42 |& line i| of theB|
|00006210| 65 66 6f 72 65 20 69 6e | 74 6f 20 74 68 65 54 61 |efore in|to theTa|
|00006220| 62 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |b.end if|.end rep|
|00006230| 65 61 74 0d 69 66 20 28 | 63 68 61 72 20 31 20 6f |eat.if (|char 1 o|
|00006240| 66 20 74 68 65 54 61 62 | 20 69 73 20 72 65 74 75 |f theTab| is retu|
|00006250| 72 6e 29 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |rn) then| delete |
|00006260| 63 68 61 72 20 31 20 6f | 66 20 74 68 65 54 61 62 |char 1 o|f theTab|
|00006270| 0d 69 66 20 20 20 20 20 | 20 28 74 68 65 44 69 72 |.if | (theDir|
|00006280| 65 63 74 69 6f 6e 20 69 | 73 20 22 41 73 63 65 6e |ection i|s "Ascen|
|00006290| 64 69 6e 67 22 29 20 20 | 74 68 65 6e 20 73 6f 72 |ding") |then sor|
|000062a0| 74 20 74 68 65 54 61 62 | 20 61 73 63 65 6e 64 69 |t theTab| ascendi|
|000062b0| 6e 67 20 20 69 6e 74 65 | 72 6e 61 74 69 6f 6e 61 |ng inte|rnationa|
|000062c0| 6c 0d 65 6c 73 65 20 69 | 66 20 28 74 68 65 44 69 |l.else i|f (theDi|
|000062d0| 72 65 63 74 69 6f 6e 20 | 69 73 20 22 44 65 73 63 |rection |is "Desc|
|000062e0| 65 6e 64 69 6e 67 22 29 | 20 74 68 65 6e 20 73 6f |ending")| then so|
|000062f0| 72 74 20 74 68 65 54 61 | 62 20 64 65 73 63 65 6e |rt theTa|b descen|
|00006300| 64 69 6e 67 20 69 6e 74 | 65 72 6e 61 74 69 6f 6e |ding int|ernation|
|00006310| 61 6c 0d 70 75 74 20 74 | 68 65 20 69 74 65 6d 44 |al.put t|he itemD|
|00006320| 65 6c 69 6d 69 74 65 72 | 20 69 6e 74 6f 20 6f 72 |elimiter| into or|
|00006330| 69 67 69 6e 61 6c 53 65 | 74 74 69 6e 67 0d 73 65 |iginalSe|tting.se|
|00006340| 74 20 74 68 65 20 69 74 | 65 6d 44 65 6c 69 6d 69 |t the it|emDelimi|
|00006350| 74 65 72 20 74 6f 20 74 | 61 62 0d 70 75 74 20 22 |ter to t|ab.put "|
|00006360| 22 20 69 6e 74 6f 20 74 | 68 65 52 65 74 75 72 6e |" into t|heReturn|
|00006370| 0d 72 65 70 65 61 74 20 | 77 69 74 68 20 69 20 3d |.repeat |with i =|
|00006380| 20 31 20 74 6f 20 74 68 | 65 20 6e 75 6d 62 65 72 | 1 to th|e number|
|00006390| 20 6f 66 20 69 74 65 6d | 73 20 6f 66 20 74 68 65 | of item|s of the|
|000063a0| 54 61 62 0d 70 75 74 20 | 74 68 65 52 65 74 75 72 |Tab.put |theRetur|
|000063b0| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 20 69 74 65 |n & retu|rn & ite|
|000063c0| 6d 20 69 20 6f 66 20 74 | 68 65 54 61 62 20 69 6e |m i of t|heTab in|
|000063d0| 74 6f 20 74 68 65 52 65 | 74 75 72 6e 0d 65 6e 64 |to theRe|turn.end|
|000063e0| 20 72 65 70 65 61 74 0d | 69 66 20 28 63 68 61 72 | repeat.|if (char|
|000063f0| 20 31 20 6f 66 20 74 68 | 65 52 65 74 75 72 6e 20 | 1 of th|eReturn |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.